mirror_ubuntu-kernels/drivers/gpu/drm/amd/pm
Lijo Lazar 775f11aa17 drm/amd/pm: Enable pp_od_clk_voltage node on aldebaran
Use pp_od_clk_voltage node to enable performance determinism and GFX
clock min/max range for aldebaran. This is to avoid overload of
pp_dpm_sclk and maintain consistency in user lib interfaces.

Ex: To enable perf determinism at 900MHz max gfx clock

1) echo perf_determinism > /sys/bus/pci/devices/.../power_dpm_force_performance_level
2) echo s 1 900 > /sys/bus/pci/devices/.../pp_od_clk_voltage
3) echo c > /sys/bus/pci/devices/.../pp_od_clk_voltage

Ex: To enable min 500MHz/max 900MHz gfx clocks

1) echo manual > "/sys/bus/pci/devices/.../power_dpm_force_performance_level"
2) echo s 0 500 > "/sys/bus/pci/devices/.../pp_od_clk_voltage"
3) echo s 1 900 > "/sys/bus/pci/devices/.../pp_od_clk_voltage”
4) echo c > "/sys/bus/pci/devices/.../pp_od_clk_voltage”

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-03-23 23:01:51 -04:00
..
inc drm/amd/pm: add new data in metrics table 2021-03-23 23:00:28 -04:00
powerplay amdgpu/pm: read_sensor() report failure apporpriately 2021-02-26 17:23:49 -05:00
swsmu drm/amd/pm: Enable pp_od_clk_voltage node on aldebaran 2021-03-23 23:01:51 -04:00
amdgpu_dpm.c amdgpu/pm: Powerplay API for smu , changed 4 dpm functions to use API 2021-02-26 17:19:08 -05:00
amdgpu_pm.c drm/amd/pm: Enable performance determinism on aldebaran 2021-03-23 22:58:16 -04:00
Makefile drm/amd/swsmu: add aldebaran smu13 ip support (v3) 2021-03-23 22:54:24 -04:00