[igt-dev] [PATCH i-g-t] tests/intel/xe_query: Print XE_QUERY_CONFIG_MAX_ENGINE_PRIORITY value

Francois Dugast francois.dugast at intel.com
Fri Sep 15 14:46:49 UTC 2023


The key XE_QUERY_CONFIG_MAX_ENGINE_PRIORITY has been added to the
info array provided in struct drm_xe_query_config. It represents
the value of the highest available exec queue priority. The existing
test is extended to also print the value returned for this key.

Signed-off-by: Francois Dugast <francois.dugast at intel.com>
---
 tests/intel/xe_query.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/intel/xe_query.c b/tests/intel/xe_query.c
index 9835b895d..5966968d3 100644
--- a/tests/intel/xe_query.c
+++ b/tests/intel/xe_query.c
@@ -381,6 +381,8 @@ test_query_config(int fd)
 		config->info[XE_QUERY_CONFIG_GT_COUNT]);
 	igt_info("XE_QUERY_CONFIG_MEM_REGION_COUNT\t%llu\n",
 		config->info[XE_QUERY_CONFIG_MEM_REGION_COUNT]);
+	igt_info("XE_QUERY_CONFIG_MAX_ENGINE_PRIORITY\t%llu\n",
+		config->info[XE_QUERY_CONFIG_MAX_ENGINE_PRIORITY]);
 	dump_hex_debug(config, query.size);
 
 	free(config);
-- 
2.34.1



More information about the igt-dev mailing list