]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/display: Fix mismatched unlock for DMUB HW lock in HWSS fast path
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Mon, 8 Dec 2025 19:08:56 +0000 (14:08 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Jan 2026 21:59:58 +0000 (16:59 -0500)
commitaf3303970da5ce5bfe6dffdd07f38f42aad603e0
tree9768bc69c3ef58b352c0c3c93e63fe7ee5debad5
parent2c6592221eb7812d7e2afd229c290bc79c2bfd04
drm/amd/display: Fix mismatched unlock for DMUB HW lock in HWSS fast path

[Why]
The evaluation for whether we need to use the DMUB HW lock isn't the
same as whether we need to unlock which results in a hang when the
fast path is used for ASIC without FAMS support.

[How]
Store a flag that indicates whether we should use the lock and use
that same flag to specify whether unlocking is needed.

Reviewed-by: Swapnil Patel <swapnil.patel@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Chenyu Chen <chen-yu.chen@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/core/dc_hw_sequencer.c