diff options
author | 2019-10-30 19:21:49 +0000 | |
---|---|---|
committer | 2019-10-31 14:52:19 +0000 | |
commit | dde01d943559f6b853d97a2744433d9ad1b12ace (patch) | |
tree | b53cf9a9a2b375bac31ca3a186b2ff5f7a281bc3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915/selftests: Pretty print the i915_active (diff) | |
download | wireguard-linux-dde01d943559f6b853d97a2744433d9ad1b12ace.tar.xz wireguard-linux-dde01d943559f6b853d97a2744433d9ad1b12ace.zip |
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 <chris@chris-wilson.co.uk>
Cc: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191030192159.18404-1-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions