[Intel-gfx] [PATCH 1/3] drm/i915: Stop putting GGTT VMA at the head of the list

Chris Wilson chris at chris-wilson.co.uk
Thu Dec 4 01:48:11 PST 2014


On Wed, Dec 03, 2014 at 02:59:24PM +0000, Tvrtko Ursulin wrote:
> From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> 
> 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.

No, please don't. The rationale for putting ggtt first is because it
puts the one vma that every object is likely to use at the front, and
makes it also the first in the list for debugging.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list