diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-10-04 15:39:56 +0200 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-10-04 16:39:01 +0200 |
commit | 5e053450c1c3af316aef9a96dc88f52cd803d1ee (patch) | |
tree | 7932ab34b3ad8e13ec31652cb1f58e11a930cae4 /drivers/gpu/drm/i915/i915_gem_gtt.h | |
parent | drm/i915: Use helpers for drm_mm_node booleans (diff) | |
download | linux-5e053450c1c3af316aef9a96dc88f52cd803d1ee.tar.xz linux-5e053450c1c3af316aef9a96dc88f52cd803d1ee.zip |
drm/i915: Only track bound elements of the GTT
The premise here is to simply avoiding having to acquire the vm->mutex
inside vma create/destroy to update the vm->unbound_lists, to avoid some
nasty lock recursions later.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191004134015.13204-2-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem_gtt.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_gem_gtt.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.h b/drivers/gpu/drm/i915/i915_gem_gtt.h index 8fd2234ba0bf..bbdc735466c1 100644 --- a/drivers/gpu/drm/i915/i915_gem_gtt.h +++ b/drivers/gpu/drm/i915/i915_gem_gtt.h @@ -320,11 +320,6 @@ struct i915_address_space { */ struct list_head bound_list; - /** - * List of vma that are not unbound. - */ - struct list_head unbound_list; - struct pagestash free_pages; /* Global GTT */ |