Re: [Intel-gfx] [PATCH 34/34] drm: kselftest for drm_mm and bottom-up allocation

2016-12-14 Thread Joonas Lahtinen
On ma, 2016-12-12 at 11:53 +, Chris Wilson wrote: > 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 > @@ -1304,6 +1304,95 @@ static int igt_topdown(void *ignored) > >   return re

[Intel-gfx] [PATCH 34/34] drm: kselftest for drm_mm and bottom-up allocation

2016-12-12 Thread Chris Wilson
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 --- drivers/gpu/drm/selftests/drm_mm_selftests.h | 1 + drivers/gpu/drm/selftests/test-drm_mm.c | 89 2 files