Chris Wilson 85fd4f58d7 drm/i915: Mark all non-vma being inserted into the address spaces
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@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20161205142941.21965-1-chris@chris-wilson.co.uk
2016-12-05 20:49:17 +00:00
..
2016-12-05 17:11:48 +10:00
2016-12-05 17:11:48 +10:00
2016-12-05 17:11:48 +10:00
2016-12-01 09:26:55 +10:00
2016-12-05 17:11:48 +10:00
2016-12-05 17:11:48 +10:00
2016-12-05 17:11:48 +10:00
2016-12-05 17:11:48 +10:00
2016-12-05 17:11:48 +10:00
2016-11-09 00:46:04 +05:30
2016-09-19 15:04:15 +02:00
2016-11-16 14:36:27 +01:00
2016-09-21 13:33:50 +02:00
2016-11-17 11:58:09 +01:00
2016-09-19 11:22:08 +02:00
2016-09-06 13:56:41 -04:00
2016-11-15 23:33:48 +01:00
2016-09-19 13:57:38 +02:00
2016-11-15 23:33:48 +01:00
2016-11-16 09:55:27 +01:00
2016-09-19 13:57:38 +02:00
2016-11-16 09:55:27 +01:00
2016-11-15 15:23:29 +01:00