[PATCH 8/9] drm: kselftest for drm_mm and top-down alignment

2016-12-09 Thread Joonas Lahtinen
On pe, 2016-12-09 at 13:08 +, Chris Wilson wrote: > Check that if we request top-down allocation with a particular alignment > from drm_mm_insert_node() that the start of the node matches our > request. > > Signed-off-by: Chris Wilson > @@ -1038,6 +1038,98 @@ static int igt_topdown(void *i

[PATCH 8/9] drm: kselftest for drm_mm and top-down alignment

2016-12-09 Thread Chris Wilson
Check that if we request top-down allocation with a particular alignment from drm_mm_insert_node() that the start of the node matches our request. Signed-off-by: Chris Wilson --- drivers/gpu/drm/drm_mm_selftests.h | 1 + drivers/gpu/drm/test-drm_mm.c | 92 ++