summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorWayne Lin <Wayne.Lin@amd.com>2021-03-06 13:37:33 +0300
committerAlex Deucher <alexander.deucher@amd.com>2021-03-24 06:32:50 +0300
commitcd95ef0097ca1c88c31aaa278d58a5ab45605e74 (patch)
treeba65d461f22c777412a1c59e5a0f9f27814f255f /tools/perf/scripts/python/stackcollapse.py
parent4870bd88136481f77c5b93da0423888870f3add5 (diff)
downloadlinux-cd95ef0097ca1c88c31aaa278d58a5ab45605e74.tar.xz
drm/amd/display: Fix secure display lock problems
[Why] Find out few locks problems while doing secure display. They are following few parts: 1. crc_rd_work_lock in amdgpu_dm_crtc_handle_crc_window_irq() should also use spin_lock_irqsave instead of spin_lock_irq. 2. In crc_win_update_set(), crc_rd_work_lock should be grabbed after obtaining lock event_lock. Otherwise, will cause deadlock by conflicting the lock order in amdgpu_dm_crtc_handle_crc_window_irq() 3. flush_work() in crc_win_update_set() is no need and will cause deadlock since amdgpu_dm_crtc_notify_ta_to_read() also tries to grab lock crc_rd_work_lock. [How] Fix above problems. Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Wayne Lin <Wayne.Lin@amd.com> Reviewed-by: Solomon Chiu <Solomon.Chiu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions