aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorThomas Hellström <[email protected]>2021-06-01 09:46:41 +0200
committerMatthew Auld <[email protected]>2021-06-01 09:32:33 +0100
commit4d8151ae5329cf50781a02fd2298a909589a5bab (patch)
tree2dd0b803845dd6c0ad52f4d8abfb46504fcd831f /scripts/gdb/linux/tasks.py
parent0f4308d524e2e7ba8670249424bbcb3a4ff185f0 (diff)
drm/i915: Don't free shared locks while shared
We are currently sharing the VM reservation locks across a number of gem objects with page-table memory. Since TTM will individiualize the reservation locks when freeing objects, including accessing the shared locks, make sure that the shared locks are not freed until that is done. For PPGTT we add an additional refcount, for GGTT we take additional measures to make sure objects sharing the GGTT reservation lock are freed at GGTT takedown Signed-off-by: Thomas Hellström <[email protected]> Reviewed-by: Maarten Lankhorst <[email protected]> Signed-off-by: Matthew Auld <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions