]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Mar 2025 20:59:55 +0000 (21:59 +0100)
commit7803ca385941f941bce2ec6d4971456f59c312e8
tree568bc0f18e5e8ec287e1fcf8f14f2f08e679b351
parent28780816ca29c2bc94fdfcf3de6805ed8e103876
drm/amd/display: should support dmub hw lock on Replay

commit bfeefe6ea5f18cabb8fda55364079573804623f9 upstream.

[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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/display/dc/dce/dmub_hw_lock_mgr.c