On to, 2016-11-17 at 12:08 +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 > (UNCOLORED). > I might opt for I915_MM_UNCOLORED, just to stay on the safe side as this is in a .h file. > Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> You may or may not want to have it in i915_gem_stolen.c for completeness. Reviewed-by: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx> Regards, Joonas -- Joonas Lahtinen Open Source Technology Center Intel Corporation _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx