drm/amd/display: should support dmub hw lock on Replay
authorMartin Tsai <martin.tsai@amd.com>
Fri, 2 Feb 2024 06:39:29 +0000 (14:39 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Feb 2024 22:15:09 +0000 (17:15 -0500)
commitbfeefe6ea5f18cabb8fda55364079573804623f9
tree261ea038dbb248a5c4ed41905e67924aa0a3b92b
parentae3986e7276df8fe1298bab01e66807c2a33fc01
drm/amd/display: should support dmub hw lock on Replay

[Why]
Without acquiring DMCUB hw lock, a race condition is caused with
Panel Replay feature, which will trigger a hang. Indicate that a
lock is necessary to prevent this when replay feature is enabled.

[How]
To allow dmub hw lock on Replay.

Reviewed-by: Robin Chen <robin.chen@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Martin Tsai <martin.tsai@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/dce/dmub_hw_lock_mgr.c