aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
diff options
context:
space:
mode:
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>2024-07-15 15:52:46 -0400
committerAlex Deucher <alexander.deucher@amd.com>2024-07-27 17:31:19 -0400
commitfcb3a4fb8255149a73afeb3d8f2397eaac3a46b0 (patch)
tree4a8fa1d4b9abf98e2723fd13d7ee0785c7bdb949 /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
parent076362d931d0d5ed01a3d1cd4d066f2e6e7f86f8 (diff)
downloadlinux-fcb3a4fb8255149a73afeb3d8f2397eaac3a46b0.tar.gz
linux-fcb3a4fb8255149a73afeb3d8f2397eaac3a46b0.tar.bz2
linux-fcb3a4fb8255149a73afeb3d8f2397eaac3a46b0.zip
drm/amd/display: Request 0MHz dispclk for zero display case
[Why] If we aren't entering RCG/IPS2 or CLKSTOP is not supported by PMFW then we should be requesting a dispclk value of 0MHz to PMFW. Currenly we run at max clock since there's an assumption in APU clock table formulation where we can run at any DISPCLK at any state so the real clock value ends up as 1200Mhz - the maximum. [How] Set to 0 instead of the minimum value in the state array. Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Reviewed-by: Duncan Ma <duncan.ma@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c')
0 files changed, 0 insertions, 0 deletions