[PATCH i-g-t 1/1] tests/intel/xe_exec_sip_eudebug: disable some tests on VF

Laguna, Lukasz lukasz.laguna at intel.com
Fri Mar 28 09:23:26 UTC 2025


On 3/28/2025 09:19, Jan Sokolowski wrote:

Tests wait-writesip-nodebug and breakpoint-writesip-nodebug

were found to be incompatible with SR-IOV functionality, and

should only be available to run if on PF.



Disable these tests if ran on VF.



Signed-off-by: Jan Sokolowski <jan.sokolowski at intel.com><mailto:jan.sokolowski at intel.com>

Cc: Katarzyna Piecielska <katarzyna.piecielska at intel.com><mailto:katarzyna.piecielska at intel.com>

Cc: Lukasz Laguna <lukasz.laguna at intel.com><mailto:lukasz.laguna at intel.com>

Cc: Christoph Manszewski <christoph.manszewski at intel.com><mailto:christoph.manszewski at intel.com>

---

 tests/intel/xe_exec_sip_eudebug.c | 2 ++

 1 file changed, 2 insertions(+)



diff --git a/tests/intel/xe_exec_sip_eudebug.c b/tests/intel/xe_exec_sip_eudebug.c

index c317112b4..26b3f9176 100644

--- a/tests/intel/xe_exec_sip_eudebug.c

+++ b/tests/intel/xe_exec_sip_eudebug.c

@@ -22,6 +22,7 @@

 #include "xe/xe_eudebug.h"

 #include "xe/xe_ioctl.h"

 #include "xe/xe_query.h"

+#include "lib/igt_sriov_device.h"



 #define WIDTH 64

 #define HEIGHT 64

@@ -316,6 +317,7 @@ igt_main

         igt_fixture {

                 was_enabled = xe_eudebug_enable(fd, false);

                 igt_require(!xe_eudebug_debugger_available(fd));

+                igt_skip_on(intel_is_vf_device(fd));

Shouldn't eudebug toggle be unavailable for VFs? If yes then I think it would be better to skip if it's not present.
-
Lukasz





         }



         test_render_and_compute("wait-writesip-nodebug", fd, eci)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/igt-dev/attachments/20250328/a80c1bb5/attachment.htm>


More information about the igt-dev mailing list