summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_gem_gtt.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2019-10-04 14:39:56 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2019-10-04 15:39:01 +0100
commit5e053450c1c3af316aef9a96dc88f52cd803d1ee (patch)
tree7932ab34b3ad8e13ec31652cb1f58e11a930cae4 /drivers/gpu/drm/i915/i915_gem_gtt.h
parentb290a78b5c3d78c337b8d9856cc0671aea0c2ef3 (diff)
downloadlinux-stable-5e053450c1c3af316aef9a96dc88f52cd803d1ee.tar.gz
linux-stable-5e053450c1c3af316aef9a96dc88f52cd803d1ee.tar.bz2
linux-stable-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.h5
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 */