drm/amd/display: Wait forever for DMCUB to wake up
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Mon, 11 Dec 2023 22:57:24 +0000 (17:57 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 3 Jan 2024 15:46:44 +0000 (10:46 -0500)
commit60d5d1e76270bac910f9596799cbd831fe09c489
tree260c578aefe5cf6911ab3578e7dd874f270c4b6b
parent54249f03ab9a7311dad653b449e15c6a939d7732
drm/amd/display: Wait forever for DMCUB to wake up

[Why]
If we time out waiting for PMFW to finish the exit sequence and touch
the DMCUB register the system will hang in a hard locked state.

[How]
Pol forever. This covers the case where things take too long but also
enables for debugging to occur since the cores won't be hardlocked.

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