[Intel-gfx] [PATCH 3/5] drm/i915: Mark all non-vma being inserted into the address spaces
Joonas Lahtinen
joonas.lahtinen at linux.intel.com
Thu Nov 24 11:34:04 UTC 2016
On ke, 2016-11-23 at 14:11 +0000, Chris Wilson wrote:
> We need to distinguish between full i915_vma structs and simple
> drm_mm_nodes when considering eviction (i.e. we must be careful not to
> treat a mere drm_mm_node as a much larger i915_vma causing memory
> corruption, if we are lucky). To do this, color these not-a-vma with -1
> (I915_COLOR_UNEVICTABLE).
>
> v2...v200: New name for -1.
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
Regards, Joonas
--
Joonas Lahtinen
Open Source Technology Center
Intel Corporation
More information about the Intel-gfx
mailing list