mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 23:56:44 +07:00
6e60d5ded0
This patch introduces fragmentation in the address range and measures time taken by 10k and 20k insertions. ig_frag() will fail if the time taken by 20k insertions takes more than 4 times of 10k insertions as we know that insertions should at most scale quadratically. v2: introduce fragmentation by freeing every other node. only test bottom-up and top-down for now. v3: fix incorrect mode check Signed-off-by: Nirmoy Das <nirmoy.das@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Christian König <christian.koenig@amd.com> Link: https://patchwork.freedesktop.org/patch/369076/
29 lines
969 B
C
29 lines
969 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* 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(frag, igt_frag)
|
|
selftest(align32, igt_align32)
|
|
selftest(align64, igt_align64)
|
|
selftest(evict, igt_evict)
|
|
selftest(evict_range, igt_evict_range)
|
|
selftest(bottomup, igt_bottomup)
|
|
selftest(lowest, igt_lowest)
|
|
selftest(topdown, igt_topdown)
|
|
selftest(highest, igt_highest)
|
|
selftest(color, igt_color)
|
|
selftest(color_evict, igt_color_evict)
|
|
selftest(color_evict_range, igt_color_evict_range)
|