diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-02-02 11:44:34 +0000 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-02-03 11:36:49 +0100 |
commit | bb18dfcc640d0551073e756e0af2ff60bea89e6d (patch) | |
tree | 2652043ab4e09ea2a1c4c54fd6b5f4ee5b68570b /drivers/gpu/drm/selftests/drm_mm_selftests.h | |
parent | 4e64e5539d152e202ad6eea2b6f65f3ab58d9428 (diff) |
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.h | 1 |
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) |