[PATCH 1/3] tests/intel/xe_exec_system_allocator: Add section to trigger 64k fault
Matthew Brost
matthew.brost at intel.com
Wed Jul 9 03:58:19 UTC 2025
64K is the fault size in Xe. Add sections to explicitly trigger these
faults, as they are interesting and having dedicated sections helps with
profiling the KMD.
Signed-off-by: Matthew Brost <matthew.brost at intel.com>
Reviewed-by: Francois Dugast <francois.dugast at intel.com>
---
tests/intel/xe_exec_system_allocator.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/tests/intel/xe_exec_system_allocator.c b/tests/intel/xe_exec_system_allocator.c
index 2a99bd435a..65d281c784 100644
--- a/tests/intel/xe_exec_system_allocator.c
+++ b/tests/intel/xe_exec_system_allocator.c
@@ -806,6 +806,10 @@ partial(int fd, struct drm_xe_engine_class_instance *eci, unsigned int flags)
* Description: Run %arg[1] system allocator test many times with large allocations
* Test category: stress test
*
+ * SUBTEST: many-64k-%s
+ * Description: Run %arg[1] system allocator test many times with large allocations
+ * Test category: stress test
+ *
* SUBTEST: many-large-execqueues-%s
* Description: Run %arg[1] system allocator test on many exec_queues with large allocations
*
@@ -1741,6 +1745,11 @@ igt_main
test_exec(fd, hwe, 1, 128, SZ_2M, 0, 0, NULL,
NULL, s->flags);
+ igt_subtest_f("many-64k-%s", s->name)
+ xe_for_each_engine(fd, hwe)
+ test_exec(fd, hwe, 1, 128, SZ_64K, 0, 0, NULL,
+ NULL, s->flags);
+
igt_subtest_f("many-large-execqueues-%s", s->name)
xe_for_each_engine(fd, hwe)
test_exec(fd, hwe, 16, 128, SZ_2M, 0, 0, NULL,
--
2.34.1
More information about the igt-dev
mailing list