]> git.baikalelectronics.ru Git - kernel.git/commit
drm: kselftest for drm_mm and restricted color eviction
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 22 Dec 2016 08:36:22 +0000 (08:36 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 27 Dec 2016 13:16:57 +0000 (14:16 +0100)
commit5c6bcdb59d1b6b26f381f9ed32cbd3800628d56a
tree2406446dcc089d7ca379948a70b10c03da60e508
parent998ac0399d14fb24bc51790c25c651a5536fff8b
drm: kselftest for drm_mm and restricted color eviction

Check that after applying the driver's color adjustment, restricted
eviction scanning finds a suitable hole.

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-20-chris@chris-wilson.co.uk
drivers/gpu/drm/selftests/drm_mm_selftests.h
drivers/gpu/drm/selftests/test-drm_mm.c