[PATCH 10/34] drm: kselftest for drm_mm_replace_node()

2016-12-14 Thread Joonas Lahtinen
On ma, 2016-12-12 at 11:53 +, Chris Wilson wrote: > Reuse drm_mm_insert_node() with a temporary node to exercise > drm_mm_replace_node(). We use the previous test in order to exercise the > various lists following replacement. > > Signed-off-by: Chris Wilson > +static int __igt_insert(int

[PATCH 10/34] drm: kselftest for drm_mm_replace_node()

2016-12-12 Thread Chris Wilson
Reuse drm_mm_insert_node() with a temporary node to exercise drm_mm_replace_node(). We use the previous test in order to exercise the various lists following replacement. Signed-off-by: Chris Wilson --- drivers/gpu/drm/selftests/drm_mm_selftests.h | 1 + drivers/gpu/drm/selftests/test-drm_mm.c