diff options
author | Maarten Lankhorst <[email protected]> | 2021-03-23 16:50:29 +0100 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2021-03-24 17:30:37 +0100 |
commit | 26ad4f8b7352a91cf0d757d48c61f9ceee9a33db (patch) | |
tree | 732a2d559080948536067addf09b33ec5bc0093c /tools/perf/util/trace-event-scripting.c | |
parent | 988d4ff6e3c2220d13d8dde22a98945b64fd7977 (diff) |
drm/i915: Use a single page table lock for each gtt.
We may create page table objects on the fly, but we may need to
wait with the ww lock held. Instead of waiting on a freed obj
lock, ensure we have the same lock for each object to keep
-EDEADLK working. This ensures that i915_vma_pin_ww can lock
the page tables when required.
Signed-off-by: Maarten Lankhorst <[email protected]>
Reviewed-by: Thomas Hellström <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions