[igt-dev] [PATCH v4 12/14] drm-uapi/xe: Remove unused field of drm_xe_query_gt

Francois Dugast francois.dugast at intel.com
Thu Sep 28 11:25:36 UTC 2023


On Thu, Sep 28, 2023 at 11:05:14AM +0000, Francois Dugast wrote:
> From: Rodrigo Vivi <rodrigo.vivi at intel.com>
> 
> Align with commit ("drm/xe/uapi: Remove unused field of drm_xe_query_gt")
> 
> Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
> Signed-off-by: Francois Dugast <francois.dugast at intel.com>

Reviewed-by: Francois Dugast <francois.dugast at intel.com>

> ---
>  include/drm-uapi/xe_drm.h | 2 --
>  tests/intel/xe_query.c    | 1 -
>  2 files changed, 3 deletions(-)
> 
> diff --git a/include/drm-uapi/xe_drm.h b/include/drm-uapi/xe_drm.h
> index e6879a6be..2103dae40 100644
> --- a/include/drm-uapi/xe_drm.h
> +++ b/include/drm-uapi/xe_drm.h
> @@ -352,8 +352,6 @@ struct drm_xe_query_gt {
>  	__u16 gt_id;
>  	/** @clock_freq: A clock frequency for timestamp */
>  	__u32 clock_freq;
> -	/** @features: Reserved for future information about GT features */
> -	__u64 features;
>  	/**
>  	 * @native_mem_regions: Bit mask of instances from
>  	 * drm_xe_query_mem_usage that lives on the same GPU/Tile and have
> diff --git a/tests/intel/xe_query.c b/tests/intel/xe_query.c
> index f1ae1bf40..2b8edf5ec 100644
> --- a/tests/intel/xe_query.c
> +++ b/tests/intel/xe_query.c
> @@ -281,7 +281,6 @@ test_query_gts(int fd)
>  		igt_info("type: %d\n", gts->gts[i].type);
>  		igt_info("gt_id: %d\n", gts->gts[i].gt_id);
>  		igt_info("clock_freq: %u\n", gts->gts[i].clock_freq);
> -		igt_info("features: 0x%016llx\n", gts->gts[i].features);
>  		igt_info("native_mem_regions: 0x%016llx\n",
>  		       gts->gts[i].native_mem_regions);
>  		igt_info("slow_mem_regions: 0x%016llx\n",
> -- 
> 2.34.1
> 


More information about the igt-dev mailing list