aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2019-10-30 19:21:49 +0000
committerChris Wilson <[email protected]>2019-10-31 14:52:19 +0000
commitdde01d943559f6b853d97a2744433d9ad1b12ace (patch)
treeb53cf9a9a2b375bac31ca3a186b2ff5f7a281bc3 /tools/perf/util/scripting-engines/trace-event-python.c
parent164a4128869ffcef33dfed82b641471b14e48b5d (diff)
drm/i915: Split detaching and removing the vma
In order to keep the assert_bind_count() valid, we need to hold the vma page reference until after we drop the bind count. However, we must also keep the drm_mm_remove_node() as the last action of i915_vma_unbind() so that it serialises with the unlocked check inside i915_vma_destroy(). So we need to split up i915_vma_remove() so that we order the detach, drop pages and remove as required during unbind. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=112067 Signed-off-by: Chris Wilson <[email protected]> Cc: Matthew Auld <[email protected]> Reviewed-by: Matthew Auld <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions