diff options
| author | Xiaomeng Hou <[email protected]> | 2021-04-08 01:44:02 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-06-04 20:03:24 +0000 |
| commit | 6c83a0151b8f028eedd51f618a17cb838c11d217 (patch) | |
| tree | 694efdb70b142040491c0cb88a18519c8d78dda5 /drivers/gpu/drm/amd/include/atomfirmware.h | |
| parent | drm/amdgpu: correct the cu and rb info for yellow carp (diff) | |
| download | kernel-6c83a0151b8f028eedd51f618a17cb838c11d217.tar.gz kernel-6c83a0151b8f028eedd51f618a17cb838c11d217.zip | |
drm/amd/pm: add set_performance_level function for yellow carp
This patch enables editing sysfs file power_dpm_force_performance_level
for yellow carp. User could thus adjust the dpm forced level.
v2: enable fine grain control of GFXCLK only when in manual performance
level mode. In other mode, the min/max range of GFXCLK will be reset to
corresponding values.
Ex: To enable min 300MHz / max 600MHz gfx clocks
1) echo manual > /sys/bus/pci/devices/.../power_dpm_force_performance_level
2) echo s 0 300 > /sys/bus/pci/devices/.../pp_od_clk_voltage
3) echo s 1 600 > /sys/bus/pci/devices/.../pp_od_clk_voltage
4) echo c > /sys/bus/pci/devices/.../pp_od_clk_voltage
Signed-off-by: Xiaomeng Hou <[email protected]>
Acked-by: Huang Rui <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/include/atomfirmware.h')
0 files changed, 0 insertions, 0 deletions
