[PATCH i-g-t] tests/intel/xe_exec_fault_mode: Print engine name on error

Nirmoy Das nirmoy.das at intel.com
Thu Aug 22 16:26:02 UTC 2024


Print engine name the test is running on to help with debugging.

Link: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/1461
Signed-off-by: Nirmoy Das <nirmoy.das at intel.com>
---
 tests/intel/xe_exec_fault_mode.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/intel/xe_exec_fault_mode.c b/tests/intel/xe_exec_fault_mode.c
index 87375ed17..1f1f1e50b 100644
--- a/tests/intel/xe_exec_fault_mode.c
+++ b/tests/intel/xe_exec_fault_mode.c
@@ -140,6 +140,7 @@ test_exec(int fd, struct drm_xe_engine_class_instance *eci,
 	int i, j, b;
 	int map_fd = -1;
 
+	igt_debug("%s running on: %s\n", __func__, xe_engine_class_string(eci->engine_class));
 	igt_assert_lte(n_exec_queues, MAX_N_EXEC_QUEUES);
 
 	if (flags & ENABLE_SCRATCH)
-- 
2.42.0



More information about the igt-dev mailing list