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

Check that after applying the driver's color adjustment, 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-19-chris@chris-wilson.co.uk
drivers/gpu/drm/selftests/drm_mm_selftests.h
drivers/gpu/drm/selftests/test-drm_mm.c