drm/i915: Stop putting GGTT VMA at the head of the list
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Wed, 3 Dec 2014 14:59:24 +0000 (14:59 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 4 Dec 2014 10:51:36 +0000 (11:51 +0100)
commitf763566992bb004a27d620c9ad90ec9a4dff34c3
tree1ad6674ec338f2e6b6c507d219c31e1738b0a4c8
parent6c930688cb04e81ca71092baf585f7ea1c670368
drm/i915: Stop putting GGTT VMA at the head of the list

Multiple GGTT VMAs per object will be introduced in the near future which will
make it impossible to guarantee normal GGTT view is at the head of the list.

Purpose of this patch is to break this assumption straight away so any
potential hidden assumptions in the code base can be bisected to this
simple patch.

For: VIZ-4544
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Suggested-by: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_gtt.c