RE: [V3 0/7] A new set of Linux OD interfaces

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[AMD Official Use Only - General]

Actually, with my original design, there indeed came with an 'r' option support.
But I found that brings some confusion. Since per current 'r' option design, it will
reset all attributes back to original states. Thus I dropped it.

If to support 'r' option per attribute, some redesigns to current logics will be needed
to support both legacy and the new OD interfaces. That will need some extra efforts.
Maybe we can put that on our TODO list?

Evan
> -----Original Message-----
> From: Alex Deucher <alexdeucher@xxxxxxxxx>
> Sent: Friday, September 1, 2023 1:26 AM
> To: Quan, Evan <Evan.Quan@xxxxxxx>
> Cc: amd-gfx@xxxxxxxxxxxxxxxxxxxxx; Deucher, Alexander
> <Alexander.Deucher@xxxxxxx>
> Subject: Re: [V3 0/7] A new set of Linux OD interfaces
>
> For consistency with the other OD interface, we'd probably want an "r"
> option to reset each attribute to the default state again.
>
> Alex
>
> On Wed, Aug 30, 2023 at 9:33 AM Alex Deucher <alexdeucher@xxxxxxxxx>
> wrote:
> >
> > Series is:
> > Reviewed-by: Alex Deucher <alexander.deucher@xxxxxxx>
> >
> > On Wed, Aug 30, 2023 at 2:35 AM Evan Quan <evan.quan@xxxxxxx>
> wrote:
> > >
> > > The existing OD interface `pp_od_clk_voltage` is unable to meet the
> > > growing demands for more OD functionalities. Since the buf used
> > > within it comes with size limit as one page. With more OD
> > > functionalities added, we will hit that limit soon.
> > >
> > > To better meet the growing demainds, a new set of OD interfaces are
> designed.
> > > With this new design, there will be multiple interfaces exposed with
> > > each representing a single OD functionality. And all those
> > > interfaces will be arranged in a tree liked hierarchy as below.
> > > Meanwhile all functionalities for the same component will be arranged
> under the same directory.
> > >
> > > gpu_od/
> > > ├── fan_ctrl
> > > │   ├── acoustic_limit_rpm_threshold
> > > │   ├── acoustic_target_rpm_threshold
> > > │   ├── fan_curve
> > > │   ├── fan_minimum_pwm
> > > │   ├── fan_target_temperature
> > >
> > > Evan Quan (7):
> > >   drm/amd/pm: introduce a new set of OD interfaces
> > >   drm/amdgpu: revise the device initialization sequences
> > >   drm/amd/pm: add fan temperature/pwm curve OD setting support for
> SMU13
> > >   drm/amd/pm: add fan acoustic limit OD setting support for SMU13
> > >   drm/amd/pm: add fan acoustic target OD setting support for SMU13
> > >   drm/amd/pm: add fan target temperature OD setting support for SMU13
> > >   drm/amd/pm: add fan minimum pwm OD setting support for SMU13
> > >
> > >  Documentation/gpu/amdgpu/thermal.rst          |  30 +
> > >  drivers/gpu/drm/amd/amdgpu/amdgpu_device.c    |  39 +-
> > >  .../gpu/drm/amd/include/kgd_pp_interface.h    |  12 +-
> > >  drivers/gpu/drm/amd/pm/amdgpu_pm.c            | 730
> +++++++++++++++++-
> > >  drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h       |  14 +
> > >  drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c     |  10 +
> > >  drivers/gpu/drm/amd/pm/swsmu/inc/smu_types.h  |   5 +
> > >  .../drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c  | 298 ++++++-
> > > .../drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c  | 298 ++++++-
> > >  9 files changed, 1411 insertions(+), 25 deletions(-)
> > >
> > > --
> > > 2.34.1
> > >




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux