Skip to content

A new set of Linux OD interfaces

Evan Quan amd-gfx 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 4 repliesIn review
  2. v28 patches 6 repliesSuperseded
  3. v18 patches 2 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7drm/amd/pm: introduce a new set of OD interfacesdrivers/gpu/drm/amd/amdgpu/amdgpu_device.c drivers/gpu/drm/amd/pm/amdgpu_pm.c drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h+266 -20 replies
2/7drm/amdgpu: revise the device initialization sequencesdrivers/gpu/drm/amd/amdgpu/amdgpu_device.c+21 -160 replies
3/7drm/amd/pm: add fan temperature/pwm curve OD setting support for SMU13Documentation/gpu/amdgpu/thermal.rst drivers/gpu/drm/amd/include/kgd_pp_interface.h drivers/gpu/drm/amd/pm/amdgpu_pm.c +5 more+423 -80 replies
4/7drm/amd/pm: add fan acoustic limit OD setting support for SMU13Documentation/gpu/amdgpu/thermal.rst drivers/gpu/drm/amd/include/kgd_pp_interface.h drivers/gpu/drm/amd/pm/amdgpu_pm.c +5 more+176 -20 replies
5/7drm/amd/pm: add fan acoustic target OD setting support for SMU13Documentation/gpu/amdgpu/thermal.rst drivers/gpu/drm/amd/include/kgd_pp_interface.h drivers/gpu/drm/amd/pm/amdgpu_pm.c +5 more+178 -20 replies
6/7drm/amd/pm: add fan target temperature OD setting support for SMU13Documentation/gpu/amdgpu/thermal.rst drivers/gpu/drm/amd/include/kgd_pp_interface.h drivers/gpu/drm/amd/pm/amdgpu_pm.c +5 more+179 -20 replies
7/7drm/amd/pm: add fan minimum pwm OD setting support for SMU13Documentation/gpu/amdgpu/thermal.rst drivers/gpu/drm/amd/include/kgd_pp_interface.h drivers/gpu/drm/amd/pm/amdgpu_pm.c +5 more+177 -20 replies

Reviews trailers per patch

None of the 7 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAlex Deucher
SeriesR-b
1/7
2/7
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [V3 0/7] A new set of Linux OD interfaces

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(-)
Signature · 1 line
2.34.1