[Intel-xe] [PATCH v3 26/30] drm/xe/uapi: Add pad to drm_xe_engine_class_instance
Francois Dugast
francois.dugast at intel.com
Fri Sep 29 09:06:53 UTC 2023
Hi Umesh,
On Thu, Sep 28, 2023 at 05:36:39PM -0700, Umesh Nerlige Ramappa wrote:
> On Tue, Sep 26, 2023 at 12:55:36PM +0000, Francois Dugast wrote:
> > Add pad to reserve space for future uses such as special configurations
> > for media.
> >
> > Signed-off-by: Francois Dugast <francois.dugast at intel.com>
>
> I saw a comment in v4 that you dropped the patches that are not reviewed, so
> this is:
>
> Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa at intel.com>
>
> Hoping this will be part of the final series that you merge since the
> ENGINE_CYCLES query is using this structure and relies on this padding.
Actually using your original submission [1] this patch should not longer
be necessary, right? It includes:
__u16 rsvd;
[1] https://lore.kernel.org/intel-xe/20230814223734.375449-5-umesh.nerlige.ramappa@intel.com/
Francois
>
> Thanks,
> Umesh
> > ---
> > include/uapi/drm/xe_drm.h | 2 ++
> > 1 file changed, 2 insertions(+)
> >
> > diff --git a/include/uapi/drm/xe_drm.h b/include/uapi/drm/xe_drm.h
> > index 79e47708d526..84091860c7d2 100644
> > --- a/include/uapi/drm/xe_drm.h
> > +++ b/include/uapi/drm/xe_drm.h
> > @@ -143,6 +143,8 @@ struct drm_xe_engine_class_instance {
> >
> > __u16 engine_instance;
> > __u16 gt_id;
> > + /** @pad: MBZ */
> > + __u32 pad;
> > };
> >
> > /**
> > --
> > 2.34.1
> >
More information about the Intel-xe
mailing list