linux_old1/drivers/gpu/drm/selftests
Chris Wilson 3fa489dabe drm: Apply tight eviction scanning to color_adjust
Using mm->color_adjust makes the eviction scanner much tricker since we
don't know the actual neighbours of the target hole until after it is
created (after scanning is complete). To work out whether we need to
evict the neighbours because they impact upon the hole, we have to then
check the hole afterwards - requiring an extra step in the user of the
eviction scanner when they apply color_adjust.

v2: Massage kerneldoc.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20161222083641.2691-34-chris@chris-wilson.co.uk
2016-12-28 13:23:06 +01:00
..
Makefile drm: Fix O= out-of-tree builds for selftests 2016-12-28 11:34:57 +01:00
drm_mm_selftests.h drm: kselftest for drm_mm and restricted color eviction 2016-12-27 14:16:57 +01:00
drm_selftest.c
drm_selftest.h
test-drm_mm.c drm: Apply tight eviction scanning to color_adjust 2016-12-28 13:23:06 +01:00