[PATCH 45/66] tests/xe_exec_sip: Add nodebug test cases
Christoph Manszewski
christoph.manszewski at intel.com
Mon Jul 29 16:01:38 UTC 2024
From: Karolina Stolarek <karolina.stolarek at intel.com>
Introduce tests that make sure we don't enter SIP when debugging
is disabled.
Signed-off-by: Karolina Stolarek <karolina.stolarek at intel.com>
Cc: Dominik Karol Piątkowski <dominik.karol.piatkowski at intel.com>
---
tests/intel/xe_exec_sip.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/tests/intel/xe_exec_sip.c b/tests/intel/xe_exec_sip.c
index a27d3cba6..35d65bcc4 100644
--- a/tests/intel/xe_exec_sip.c
+++ b/tests/intel/xe_exec_sip.c
@@ -285,6 +285,10 @@ xe_sysfs_get_job_timeout_ms(int fd, struct drm_xe_engine_class_instance *eci)
* SUBTEST: wait-writesip-nodebug
* Description: verify that we don't enter SIP after wait with debugging disabled.
*
+ * SUBTEST: breakpoint-writesip-nodebug
+ * Description: verify that we don't enter SIP after hitting breakpoint in shader
+ * when debugging is disabled.
+ *
* SUBTEST: breakpoint-writesip
* Description: Test that we enter SIP after hitting breakpoint in shader.
*
@@ -392,6 +396,9 @@ igt_main
test_render_and_compute("wait-writesip-nodebug", fd, eci)
test_sip(SHADER_WAIT, SIP_WRITE, eci, 0);
+ test_render_and_compute("breakpoint-writesip-nodebug", fd, eci)
+ test_sip(SHADER_BREAKPOINT, SIP_WRITE, eci, 0);
+
igt_fixture
xe_eudebug_enable(fd, was_enabled);
}
--
2.34.1
More information about the igt-dev
mailing list