summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/selftests/drm_mm_selftests.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-12-22 11:36:19 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2016-12-27 16:01:06 +0300
commit05ab3c2eec74507712cd5f2b027c7c8b9a66f190 (patch)
treec18b5c8b0f9c78d6d205a99700fa8113715e5ec6 /drivers/gpu/drm/selftests/drm_mm_selftests.h
parent0e483254e578e106d66f4881d86e8364c8752a16 (diff)
downloadlinux-05ab3c2eec74507712cd5f2b027c7c8b9a66f190.tar.xz
drm: kselftest for drm_mm and top-down allocation
Check that if we request top-down allocation from drm_mm_insert_node() we receive the next available hole from the top. v2: Flip sign on conditional assert. 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-17-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/selftests/drm_mm_selftests.h')
-rw-r--r--drivers/gpu/drm/selftests/drm_mm_selftests.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/selftests/drm_mm_selftests.h b/drivers/gpu/drm/selftests/drm_mm_selftests.h
index 965aca65c160..cd508e3d6538 100644
--- a/drivers/gpu/drm/selftests/drm_mm_selftests.h
+++ b/drivers/gpu/drm/selftests/drm_mm_selftests.h
@@ -17,3 +17,4 @@ selftest(align32, igt_align32)
selftest(align64, igt_align64)
selftest(evict, igt_evict)
selftest(evict_range, igt_evict_range)
+selftest(topdown, igt_topdown)