diff options
author | Jonathan Kim <jonathan.kim@amd.com> | 2021-06-11 13:36:34 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-06-15 17:25:40 -0400 |
commit | 63f6e01237257e7226efc5087f3f0b525d320f54 (patch) | |
tree | eaa4d754b46c64074c8fa277aa2733992e28ba9e /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 03fc4cf45d30533d54f0f4ebc02aacfa12f52ce2 (diff) |
drm/amdkfd: fix circular locking on get_wave_state
get_wave_state acquires the mmap_lock on copy_to_user but so do
mmu_notifiers. mmu_notifiers allows dqm locking so do get_wave_state
outside the dqm_lock to prevent circular locking.
v2: squash in unused variable removal.
Signed-off-by: Jonathan Kim <jonathan.kim@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions