mirror_ubuntu-kernels/drivers/gpu/drm/amd
Nicholas Kazlauskas e2bf3723db drm/amd/powerplay: Fix hardmins not being sent to SMU for RV
[Why]
DC uses these to raise the voltage as needed for higher dispclk/dppclk
and to ensure that we have enough bandwidth to drive the displays.

There's a bug preventing these from actuially sending messages since
it's checking the actual clock (which is 0) instead of the incoming
clock (which shouldn't be 0) when deciding to send the hardmin.

[How]
Check the clocks != 0 instead of the actual clocks.

Fixes: 9ed9203c3e ("drm/amd/powerplay: rv dal-pplib interface refactor powerplay part")
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
2020-08-26 15:45:51 -04:00
..
acp drm: amd/acp: fix broken menu structure 2020-03-13 11:52:35 -04:00
amdgpu drm/amdgpu: use MODE1 reset for navy_flounder by default 2020-08-26 15:45:51 -04:00
amdkfd drm/amd/amdkfd: Fix large framesize for kfd_smi_ev_read() 2020-07-15 13:27:34 -04:00
display drm/amd/display: Keep current gain when ABM disable immediately 2020-08-26 15:27:52 -04:00
include drm/amd/display: Read VBIOS Golden Settings Tbl 2020-08-06 16:47:13 -04:00
powerplay drm/amd/powerplay: Fix hardmins not being sent to SMU for RV 2020-08-26 15:45:51 -04:00