drm/amd/display: Revert "Increase halt timeout for DMCUB to 1s"
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Wed, 19 Feb 2025 14:46:55 +0000 (09:46 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 5 Mar 2025 15:39:38 +0000 (10:39 -0500)
commita2f72c0717ff2316b106436d8188a75e7886eed0
tree4a04a46e50830bade94b5586c319c1f6a9e8745c
parent02b2c97824df69f5a8618b28fcb7060be6166436
drm/amd/display: Revert "Increase halt timeout for DMCUB to 1s"

This reverts commit 50f040c53ea9 ("drm/amd/display: Increase halt
timeout for DMCUB to 1s")

There's two issues here:
1. Each poll is closer to 10us than 1us so it stalls for 15s on PNP.
2. We're reading the wrong scratch register to check for the HALT code.

Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Wayne Lin <wayne.lin@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn31.c
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn35.c