summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>2021-10-22 23:14:24 +0300
committerAlex Deucher <alexander.deucher@amd.com>2021-10-28 05:04:50 +0300
commitad76744b041d8c87ef1c9adbb04fb7eaa20a179e (patch)
treec9c3c7b485325a38cecd9ded1098d57f3f5bd022 /tools/perf/scripts/python/exported-sql-viewer.py
parent54149d13f369e1ab02f36b91feee02069184c1d8 (diff)
downloadlinux-ad76744b041d8c87ef1c9adbb04fb7eaa20a179e.tar.xz
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 <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
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions