Skip to content

navi10: Implement overdrive pp_od_clk_voltage

Matt Coffin amd-gfx 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 2 repliesIn review
  2. v13 patches 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/amdgpu/navi10: implement sclk/mclk OD via pp_od_clk_voltagedrivers/gpu/drm/amd/powerplay/inc/smu_v11_0.h drivers/gpu/drm/amd/powerplay/navi10_ppt.c drivers/gpu/drm/amd/powerplay/smu_v11_0.c+209 -00 replies
1/3drm/amdgpu/navi10: implement sclk/mclk OD via pp_od_clk_voltagedrivers/gpu/drm/amd/powerplay/inc/smu_v11_0.h drivers/gpu/drm/amd/powerplay/navi10_ppt.c drivers/gpu/drm/amd/powerplay/smu_v11_0.c+209 -00 replies
2/3drm/amdgpu/navi10: implement GFXCLK_CURVE overdrivedrivers/gpu/drm/amd/powerplay/navi10_ppt.c drivers/gpu/drm/amd/powerplay/navi10_ppt.h+60 -20 replies
2/3drm/amdgpu/navi10: implement GFXCLK_CURVE overdrivedrivers/gpu/drm/amd/powerplay/navi10_ppt.c drivers/gpu/drm/amd/powerplay/navi10_ppt.h+60 -20 replies
3/3drm/amdgpu/navi10: Implement od clk printingdrivers/gpu/drm/amd/powerplay/navi10_ppt.c+51 -50 replies
3/3drm/amdgpu/navi10: Implement od clk printingdrivers/gpu/drm/amd/powerplay/navi10_ppt.c+51 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] navi10: Implement overdrive pp_od_clk_voltage

[Why]
Before this patchset, navi10 users could not utilize the overdrive functionality. This prevented them from overclocking, overvolting, or undervolting their cards.

[How]
Similar to the vega20 implementation, add the pp_od_clk_voltage interface to the navi10 powerplay table.

[Possible Alternatives]
This could also be done more generically in smu_v11_0 code, but would require more significant changes to the vega20 code, and feature-gating based on chip capabilities in the smu to disable overdrive for arcterus. I chose this path so as not to completely refactor the vega20 side of things, and introduce SMU code which would not play nicely with new ASICs.

v2: rebase off latest code, and remove an incorrect bounds check

Matt Coffin (3):
drm/amdgpu/navi10: implement sclk/mclk OD via pp_od_clk_voltage drm/amdgpu/navi10: implement GFXCLK_CURVE overdrive drm/amdgpu/navi10: Implement od clk printing

 drivers/gpu/drm/amd/powerplay/inc/smu_v11_0.h |   2 +
 drivers/gpu/drm/amd/powerplay/navi10_ppt.c    | 282 ++++++++++++++++++
 drivers/gpu/drm/amd/powerplay/navi10_ppt.h    |   2 +
 drivers/gpu/drm/amd/powerplay/smu_v11_0.c     |  27 ++
 4 files changed, 313 insertions(+)
Signature · 6 lines
2.23.0

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx