[PATCH i-g-t v2 45/66] tests/xe_exec_sip: Add nodebug test cases
Piatkowski, Dominik Karol
dominik.karol.piatkowski at intel.com
Thu Aug 1 07:23:43 UTC 2024
Reviewed-by: Dominik Karol Piątkowski <dominik.karol.piatkowski at intel.com>
> -----Original Message-----
> From: Manszewski, Christoph <christoph.manszewski at intel.com>
> Sent: Tuesday, July 30, 2024 1:45 PM
> To: igt-dev at lists.freedesktop.org
> Cc: Kempczynski, Zbigniew <zbigniew.kempczynski at intel.com>; Kamil
> Konieczny <kamil.konieczny at linux.intel.com>; Grzegorzek, Dominik
> <dominik.grzegorzek at intel.com>; Patelczyk, Maciej
> <maciej.patelczyk at intel.com>; Piatkowski, Dominik Karol
> <dominik.karol.piatkowski at intel.com>; Sikora, Pawel
> <pawel.sikora at intel.com>; Hajda, Andrzej <andrzej.hajda at intel.com>;
> Kolanupaka Naveena <kolanupaka.naveena at intel.com>; Kuoppala, Mika
> <mika.kuoppala at intel.com>; Mun, Gwan-gyeong <gwan-
> gyeong.mun at intel.com>
> Subject: [PATCH i-g-t v2 45/66] tests/xe_exec_sip: Add nodebug test cases
>
> 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