aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/randomize_layout_plugin.c
diff options
context:
space:
mode:
authorNicholas Kazlauskas <[email protected]>2021-10-22 20:14:24 +0000
committerAlex Deucher <[email protected]>2021-10-28 02:04:50 +0000
commitad76744b041d8c87ef1c9adbb04fb7eaa20a179e (patch)
treec9c3c7b485325a38cecd9ded1098d57f3f5bd022 /scripts/gcc-plugins/randomize_layout_plugin.c
parentdrm/amd/display: Fallback to clocks which meet requested voltage on DCN31 (diff)
downloadkernel-ad76744b041d8c87ef1c9adbb04fb7eaa20a179e.tar.gz
kernel-ad76744b041d8c87ef1c9adbb04fb7eaa20a179e.zip
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: bf62221e9d0e ("drm/amd/display: Add DCN3.1 HDCP support") Signed-off-by: Nicholas Kazlauskas <[email protected]> Reviewed-by: Aric Cyr <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected]
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions