[igt-dev] [PATCH i-g-t] tests/xe/xe_query.c: Update subtest query-engines

janga.rahul.kumar at intel.com janga.rahul.kumar at intel.com
Fri Apr 28 11:44:45 UTC 2023


From: Janga Rahul Kumar <janga.rahul.kumar at intel.com>

Log engine instance and tile info along with engine type.

Reviewed-by: Sai Gowtham Ch <sai.gowtham.ch at intel.com>
Signed-off-by: Janga Rahul Kumar <janga.rahul.kumar at intel.com>
---
 tests/xe/xe_query.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/tests/xe/xe_query.c b/tests/xe/xe_query.c
index 3f038225..94eb046c 100644
--- a/tests/xe/xe_query.c
+++ b/tests/xe/xe_query.c
@@ -183,8 +183,9 @@ test_query_engines(int fd)
 
 	xe_for_each_hw_engine(fd, hwe) {
 		igt_assert(hwe);
-		igt_info("engine %d: %s\n", i++,
-			xe_engine_class_string(hwe->engine_class));
+		igt_info("engine %d: %s, engine instance: %d, tile: TILE-%d\n", i++,
+			 xe_engine_class_string(hwe->engine_class), hwe->engine_instance,
+								    hwe->gt_id);
 	}
 
 	igt_assert(i > 0);
-- 
2.25.1



More information about the igt-dev mailing list