mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-22 21:32:06 +07:00
9b26f2ed29
Check that we can request alignment to any power-of-two or prime using a plain drm_mm_node_insert(), and also handle a reasonable selection of primes. v2: Exercise all allocation flags 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/20161222083641.2691-14-chris@chris-wilson.co.uk
18 lines
598 B
C
18 lines
598 B
C
/* List each unit test as selftest(name, function)
|
|
*
|
|
* The name is used as both an enum and expanded as igt__name to create
|
|
* a module parameter. It must be unique and legal for a C identifier.
|
|
*
|
|
* Tests are executed in order by igt/drm_mm
|
|
*/
|
|
selftest(sanitycheck, igt_sanitycheck) /* keep first (selfcheck for igt) */
|
|
selftest(init, igt_init)
|
|
selftest(debug, igt_debug)
|
|
selftest(reserve, igt_reserve)
|
|
selftest(insert, igt_insert)
|
|
selftest(replace, igt_replace)
|
|
selftest(insert_range, igt_insert_range)
|
|
selftest(align, igt_align)
|
|
selftest(align32, igt_align32)
|
|
selftest(align64, igt_align64)
|