aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/selftests/drm_mm_selftests.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-02-02 11:44:34 +0000
committerDaniel Vetter <daniel.vetter@ffwll.ch>2017-02-03 11:36:49 +0100
commitbb18dfcc640d0551073e756e0af2ff60bea89e6d (patch)
tree2652043ab4e09ea2a1c4c54fd6b5f4ee5b68570b /drivers/gpu/drm/selftests/drm_mm_selftests.h
parentdrm: Improve drm_mm search (and fix topdown allocation) with rbtrees (diff)
downloadlinux-dev-bb18dfcc640d0551073e756e0af2ff60bea89e6d.tar.xz
linux-dev-bb18dfcc640d0551073e756e0af2ff60bea89e6d.zip
drm: kselftest for drm_mm and bottom-up allocation
Check that if we request bottom-up allocation from drm_mm_insert_node() we receive the next available hole from the bottom. 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/20170202114434.3060-2-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 6a4575fdc1c0..37bbdac52896 100644
--- a/drivers/gpu/drm/selftests/drm_mm_selftests.h
+++ b/drivers/gpu/drm/selftests/drm_mm_selftests.h
@@ -17,6 +17,7 @@ selftest(align32, igt_align32)
selftest(align64, igt_align64)
selftest(evict, igt_evict)
selftest(evict_range, igt_evict_range)
+selftest(bottomup, igt_bottomup)
selftest(topdown, igt_topdown)
selftest(color, igt_color)
selftest(color_evict, igt_color_evict)