aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/arm-cs-trace-disasm.py
diff options
context:
space:
mode:
authorMatthew Brost <[email protected]>2024-07-24 08:28:31 -0700
committerMatthew Brost <[email protected]>2024-08-09 13:11:01 -0700
commit549dd786b61cd3db903f5d94d07fc5a89ccdbeb9 (patch)
tree662705d9e200ebe58b627fe2d6a00cb6ef3e6237 /tools/perf/scripts/python/arm-cs-trace-disasm.py
parent5bdacb0907c1f531995b6ba47b832ac3a0182ae9 (diff)
drm/xe: Move VM dma-resv lock from xe_exec_queue_create to __xe_exec_queue_init
The critical section which requires the VM dma-resv is the call xe_lrc_create in __xe_exec_queue_init. Move this lock to __xe_exec_queue_init holding it just around xe_lrc_create. Not only is good practice, this also fixes a locking double of the VM dma-resv in the error paths of __xe_exec_queue_init as xe_lrc_put tries to acquire this too resulting in a deadlock. Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs") Cc: Maarten Lankhorst <[email protected]> Signed-off-by: Matthew Brost <[email protected]> Reviewed-by: Maarten Lankhorst <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions