drm/amd/display: Always exit DMCUB idle when called
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Mon, 11 Dec 2023 22:54:57 +0000 (17:54 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 3 Jan 2024 15:46:36 +0000 (10:46 -0500)
commit54249f03ab9a7311dad653b449e15c6a939d7732
treead396fce7821a40802569f002eade85cc0762b7f
parent4069d43bfecb45811a2ad5dc63326e4227fa5931
drm/amd/display: Always exit DMCUB idle when called

[Why]
dc->idle_optimizations_allowed may be desynced with the hardware state.

[How]
Make sure we always exit out when dc_dmub_srv_exit_low_power_state is
called by removing the check.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Sung joon Kim <sungjoon.kim@amd.com>
Acked-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c