summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c
diff options
context:
space:
mode:
authorLijo Lazar <lijo.lazar@amd.com>2021-03-05 16:02:49 -0500
committerAlex Deucher <alexander.deucher@amd.com>2021-03-23 22:58:16 -0400
commit6be6424684cb464be65d47cd4158e811f0d75368 (patch)
treecab89f28c318dcd2b0731bc4f10aca371121aaff /drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c
parent26256ca8a6e773e65e7e237ff972b1b0b7a557e0 (diff)
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/gfxhub_v1_0.c')
0 files changed, 0 insertions, 0 deletions