linux/drivers/gpu/drm/amd/display
Linkai Gong 92a9eebd2a drm/amd/display: fix dc_lock leak on GPU reset error paths
On GPU reset, dm_suspend() takes dc_lock and leaves it for dm_resume()
to drop. If amdgpu_dm_commit_zero_streams() or dm_dmub_hw_init() fails,
the function returns with the lock still held. The matching resume path
is then skipped, so every later dc_lock take hangs.

Release the cached DC state and unlock before returning the error.

Fixes: 3cf7a0bc87 ("drm/amd/display: Catch failures for amdgpu_dm_commit_zero_streams()")
Fixes: 2b6943df54 ("drm/amd/display: Pass up errors for reset GPU that fails to init HW")
Cc: stable@vger.kernel.org
Signed-off-by: Linkai Gong <gonglinkai@kylinos.cn>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2026-08-25 18:24:30 -04:00
..
amdgpu_dm drm/amd/display: fix dc_lock leak on GPU reset error paths 2026-08-25 18:24:30 -04:00
dc drm/amd/display: Fix redundant GPUVMEnable checks in dcn6 flip schedule 2026-08-25 18:23:50 -04:00
dmub drm/amd/display: Add missing DMUB CACP and PR definitions 2026-08-06 12:43:44 -04:00
include drm/amd/display: Enable DCN6 sources compilation 2026-08-06 09:53:32 -04:00
modules drm/amd/display: Fix ABM over VABC 2026-08-06 12:43:32 -04:00
Kconfig drm/amd/display: Add KUnit tests for amdgpu_dm_colorop 2026-06-03 13:41:32 -04:00
Makefile drm/amd/display: Add Component To Handle Bounding Box Values and IP Caps 2025-08-29 10:14:02 -04:00