[Intel-gfx] [PATCH] drm/i915: Only GGTT vma may be pinned and prevent shrinking

Chris Wilson chris at chris-wilson.co.uk
Thu May 25 14:17:39 UTC 2017


On Thu, May 25, 2017 at 04:49:56PM +0300, Joonas Lahtinen wrote:
> On to, 2017-05-25 at 08:25 +0100, Chris Wilson wrote:
> > As only GGTT vma may be permanently pinned and are always at the head of
> > the object's vma list, as soon as we seen a ppGTT vma we can stop
> > searching for any_vma_pinned().
> > 
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> > Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> 
> Is this in the kerneldoc of the list?

We enforce it in code, not comments. /s
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list