diff options
| author | Chris Wilson <[email protected]> | 2016-12-05 14:29:36 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2016-12-05 20:49:17 +0000 |
| commit | 85fd4f58d7efb7bb7ec577eb00dc2c3f2457a452 (patch) | |
| tree | e2817723f9617d459d4664bd7d5721f6e5ce99d9 /tools/perf/scripts/python | |
| parent | 721d484563e1a51ada760089c490cbc47e909756 (diff) | |
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 <[email protected]>
Reviewed-by: Joonas Lahtinen <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions