diff options
author | Jonathan Kim <[email protected]> | 2021-06-11 13:36:34 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2021-06-15 17:25:40 -0400 |
commit | 63f6e01237257e7226efc5087f3f0b525d320f54 (patch) | |
tree | eaa4d754b46c64074c8fa277aa2733992e28ba9e /tools/perf/scripts/python | |
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 <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions