[PATCH i-g-t v3 4/4] test/intel/xe_query: Print DRM_XE_QUERY_CONFIG_FLAG_HAS_DEV_ATOMIC_ON_SMEM

Kumar, Janga Rahul janga.rahul.kumar at intel.com
Tue Apr 16 09:35:19 UTC 2024



> -----Original Message-----
> From: igt-dev <igt-dev-bounces at lists.freedesktop.org> On Behalf Of Nirmoy
> Das
> Sent: Monday, April 15, 2024 8:05 PM
> To: igt-dev at lists.freedesktop.org
> Cc: Das, Nirmoy <nirmoy.das at intel.com>
> Subject: [PATCH i-g-t v3 4/4] test/intel/xe_query: Print
> DRM_XE_QUERY_CONFIG_FLAG_HAS_DEV_ATOMIC_ON_SMEM
> 
> Print DRM_XE_QUERY_CONFIG_FLAG_HAS_DEV_ATOMIC_ON_SMEM query
> config flag.
> 
> Signed-off-by: Nirmoy Das <nirmoy.das at intel.com>
> ---
>  tests/intel/xe_query.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/tests/intel/xe_query.c b/tests/intel/xe_query.c index
> a5a2dd7d4..f74fa4797 100644
> --- a/tests/intel/xe_query.c
> +++ b/tests/intel/xe_query.c
> @@ -428,6 +428,9 @@ test_query_config(int fd)
>  	igt_info("  DRM_XE_QUERY_CONFIG_FLAG_HAS_VRAM\t%s\n",
>  		config->info[DRM_XE_QUERY_CONFIG_FLAGS] &
>  		DRM_XE_QUERY_CONFIG_FLAG_HAS_VRAM ? "ON":"OFF");
> +	igt_info("
> DRM_XE_QUERY_CONFIG_FLAG_HAS_DEV_ATOMIC_ON_SMEM\t%s\n",
> +		config->info[DRM_XE_QUERY_CONFIG_FLAGS] &
> +
> 	DRM_XE_QUERY_CONFIG_FLAG_HAS_DEV_ATOMIC_ON_SMEM ?
> "ON":"OFF");
>  	igt_info("DRM_XE_QUERY_CONFIG_MIN_ALIGNMENT\t\t%#llx\n",
>  		config->info[DRM_XE_QUERY_CONFIG_MIN_ALIGNMENT]);
>  	igt_info("DRM_XE_QUERY_CONFIG_VA_BITS\t\t\t%llu\n",
> --
> 2.42.0

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


More information about the igt-dev mailing list