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

Kumar, Janga Rahul janga.rahul.kumar at intel.com
Fri Sep 15 15:39:03 UTC 2023


LGTM,
Reviewed-by: Janga Rahul Kumar<janga.rahul.kumar at intel.com>

Thanks,
Rahul

> -----Original Message-----
> From: igt-dev <igt-dev-bounces at lists.freedesktop.org> On Behalf Of
> Francois Dugast
> Sent: Friday, September 15, 2023 8:17 PM
> To: igt-dev at lists.freedesktop.org
> Subject: [igt-dev] [PATCH i-g-t] tests/intel/xe_query: Print
> XE_QUERY_CONFIG_MAX_ENGINE_PRIORITY value
> 
> 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