[PATCH i-g-t 2/2] tests/intel/xe_oa: Don't limit sync tests to render engine

Ashutosh Dixit ashutosh.dixit at intel.com
Fri Mar 14 22:45:45 UTC 2025


OA sync tests need not be limited to render engine only. Extend them to use
any engine using __for_one_hwe_in_oag macro instead.

Signed-off-by: Ashutosh Dixit <ashutosh.dixit at intel.com>
Reviewed-by: Sai Teja Pottumuttu <sai.teja.pottumuttu at intel.com>
---
 tests/intel/xe_oa.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/intel/xe_oa.c b/tests/intel/xe_oa.c
index 03b0acf5db..d15462c182 100644
--- a/tests/intel/xe_oa.c
+++ b/tests/intel/xe_oa.c
@@ -4893,7 +4893,7 @@ igt_main
 
 		for (const struct sync_section *s = sync_sections; s->name; s++) {
 			igt_subtest_with_dynamic_f("syncs-%s", s->name) {
-				__for_one_render_engine(hwe)
+				__for_one_hwe_in_oag(hwe)
 					test_syncs(hwe, s->sync_type, s->flags);
 			}
 		}
-- 
2.48.1



More information about the igt-dev mailing list