linux/drivers/gpu/drm/amd/display
Nicholas Kazlauskas ad76744b04 drm/amd/display: Fix deadlock when falling back to v2 from v3
[Why]
A deadlock in the kernel occurs when we fallback from the V3 to V2
add_topology_to_display or remove_topology_to_display because they
both try to acquire the dtm_mutex but recursive locking isn't
supported on mutex_lock().

[How]
Make the mutex_lock/unlock more fine grained and move them up such that
they're only required for the psp invocation itself.

Fixes: bf62221e9d ("drm/amd/display: Add DCN3.1 HDCP support")

Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Aric Cyr <aric.cyr@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
2021-10-27 22:04:50 -04:00
..
amdgpu_dm drm/amdgpu: Fix even more out of bound writes from debugfs 2021-10-27 22:02:28 -04:00
dc drm/amd/display: Fallback to clocks which meet requested voltage on DCN31 2021-10-27 22:04:32 -04:00
dmub Kbuild updates for v5.15 2021-09-03 15:33:47 -07:00
include drm/amdgpu: support B0&B1 external revision id for yellow carp 2021-10-20 15:27:31 -04:00
modules drm/amd/display: Fix deadlock when falling back to v2 from v3 2021-10-27 22:04:50 -04:00
Kconfig drm/amdgpu/display: fix dependencies for DRM_AMD_DC_SI 2021-10-05 10:55:41 -04:00
Makefile
TODO