[Intel-xe] [PATCH v3 26/30] drm/xe/uapi: Add pad to drm_xe_engine_class_instance

Umesh Nerlige Ramappa umesh.nerlige.ramappa at intel.com
Fri Sep 29 00:36:39 UTC 2023


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.

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