drm/amd/display: Exit idle optimizations before attempt to access PHY
authorLeo Chen <sancchen@amd.com>
Wed, 12 Jul 2023 20:50:15 +0000 (16:50 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Jul 2023 17:40:28 +0000 (13:40 -0400)
commit4012e0917b61169eeece3b0fb101fe5ff17641f4
treece86c585245053cef5a025426082d2f01aec702b
parent0f3b9542c9774a2c2ef0fc76387bb48c8fc46b36
drm/amd/display: Exit idle optimizations before attempt to access PHY

[Why & How]
DMUB may hang when powering down pixel clocks due to no dprefclk.

It is fixed by exiting idle optimization before the attempt to access PHY.

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Acked-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Leo Chen <sancchen@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c