Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Dixit, Ashutosh" <ashutosh.dixit@intel.com>
To: Francois Dugast <francois.dugast@intel.com>
Cc: igt-dev@lists.freedesktop.org
Subject: Re: [PATCH i-g-t 2/3] drm-uapi/xe: Define topology types as indexes rather than masks
Date: Tue, 09 Apr 2024 10:31:02 -0700	[thread overview]
Message-ID: <854jca30kp.wl-ashutosh.dixit@intel.com> (raw)
In-Reply-To: <20240329153058.7-3-francois.dugast@intel.com>

On Fri, 29 Mar 2024 08:30:57 -0700, Francois Dugast wrote:
>
> Align with kernel commit ca83f9d20171 ("drm/xe/uapi: Define topology \
> types as indexes rather than masks").
>
> This is not a functional change.

Matches defines in drm-xe-next:

Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>

> Signed-off-by: Francois Dugast <francois.dugast@intel.com>
> ---
>  include/drm-uapi/xe_drm.h | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/include/drm-uapi/xe_drm.h b/include/drm-uapi/xe_drm.h
> index 91ea92035..d8816df83 100644
> --- a/include/drm-uapi/xe_drm.h
> +++ b/include/drm-uapi/xe_drm.h
> @@ -518,9 +518,9 @@ struct drm_xe_query_topology_mask {
>	/** @gt_id: GT ID the mask is associated with */
>	__u16 gt_id;
>
> -#define DRM_XE_TOPO_DSS_GEOMETRY	(1 << 0)
> -#define DRM_XE_TOPO_DSS_COMPUTE		(1 << 1)
> -#define DRM_XE_TOPO_EU_PER_DSS		(1 << 2)
> +#define DRM_XE_TOPO_DSS_GEOMETRY	1
> +#define DRM_XE_TOPO_DSS_COMPUTE		2
> +#define DRM_XE_TOPO_EU_PER_DSS		4
>	/** @type: type of mask */
>	__u16 type;
>
> --
> 2.34.1
>

  reply	other threads:[~2024-04-09 17:31 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-29 15:30 [PATCH i-g-t 0/3] Align Xe header and restore some uAPI flags Francois Dugast
2024-03-29 15:30 ` [PATCH i-g-t 1/3] drm-uapi/xe: Align header with drm-xe-next Francois Dugast
2024-03-29 15:30 ` [PATCH i-g-t 2/3] drm-uapi/xe: Define topology types as indexes rather than masks Francois Dugast
2024-04-09 17:31   ` Dixit, Ashutosh [this message]
2024-03-29 15:30 ` [PATCH i-g-t 3/3] drm-uapi/xe: Restore flags VM_BIND_FLAG_READONLY and VM_BIND_FLAG_IMMEDIATE Francois Dugast
2024-04-09 17:37   ` Dixit, Ashutosh
2024-03-29 17:58 ` ✗ Fi.CI.BAT: failure for Align Xe header and restore some uAPI flags Patchwork
2024-03-29 17:58 ` ✗ CI.xeBAT: " Patchwork
2024-04-09 19:44 ` ✓ Fi.CI.BAT: success for Align Xe header and restore some uAPI flags (rev2) Patchwork
2024-04-10 19:15 ` ✗ Fi.CI.IGT: failure " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=854jca30kp.wl-ashutosh.dixit@intel.com \
    --to=ashutosh.dixit@intel.com \
    --cc=francois.dugast@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox