]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/amd/display: Disable idle reallow as part of command/gpint execution
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Wed, 24 Jan 2024 15:51:49 +0000 (10:51 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 7 Feb 2024 17:26:22 +0000 (12:26 -0500)
commit6226a5aa77370329e01ee8abe50a95e60618ce97
tree47b42418af89d09613a37602d8bf3459b3de9fd9
parent28b34ad207cc769fd086d1046c32401100401733
drm/amd/display: Disable idle reallow as part of command/gpint execution

[Why]
Workaroud for a race condition where DMCUB is in the process of
committing to IPS1 during the handshake causing us to miss the
transition into IPS2 and touch the INBOX1 RPTR causing a HW hang.

[How]
Disable the reallow to ensure that we have enough of a gap between entry
and exit and we're not seeing back-to-back wake_and_executes.

Reviewed-by: Ovidiu Bunea <ovidiu.bunea@amd.com>
Acked-by: Hamza Mahfooz <hamza.mahfooz@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.h
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
drivers/gpu/drm/amd/display/dc/resource/dcn35/dcn35_resource.c