diff options
author | 2021-03-05 16:02:49 -0500 | |
---|---|---|
committer | 2021-03-23 22:58:16 -0400 | |
commit | 6be6424684cb464be65d47cd4158e811f0d75368 (patch) | |
tree | cab89f28c318dcd2b0731bc4f10aca371121aaff /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | drm/amd/pm: Add DCBTC support for aldebaran (diff) | |
download | linux-dev-6be6424684cb464be65d47cd4158e811f0d75368.tar.xz linux-dev-6be6424684cb464be65d47cd4158e811f0d75368.zip |
drm/amd/pm: Enable performance determinism on aldebaran
Performance Determinism is a new mode in Aldebaran where PMFW tries to
maintain sustained performance level. It can be enabled on a per-die
basis on aldebaran. To guarantee that it remains within the power cap,
a max GFX frequency needs to be specified in this mode. A new
power_dpm_force_performance_level, "perf_determinism", is defined to enable
this mode in amdgpu. The max frequency (in MHz) can be specified through
pp_dpm_sclk. The mode will be disabled once any other performance level
is chosen.
Ex: To enable perf determinism at 900Mhz max gfx clock
echo perf_determinism > /sys/bus/pci/devices/.../power_dpm_force_performance_level
echo max 900 > /sys/bus/pci/devices/.../pp_dpm_sclk
Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions