[Intel-xe] [PATCH v1 1/8] drm/xe: Extend drm_xe_vm_bind_op
Rodrigo Vivi
rodrigo.vivi at intel.com
Thu Nov 16 20:57:38 UTC 2023
On Thu, Nov 16, 2023 at 02:43:09PM +0000, Francois Dugast wrote:
> From: Mika Kuoppala <mika.kuoppala at linux.intel.com>
>
> The bind api is extensible but for a single bind op, there
> is not a mechanism to extend. Add extensions field to
> struct drm_xe_vm_bind_op.
>
> Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
> Cc: Matthew Brost <matthew.brost at intel.com>
> Cc: Lucas De Marchi <lucas.demarchi at intel.com>
> Cc: Francois Dugast <francois.dugast at intel.com>
> Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> Cc: Dominik Grzegorzek <dominik.grzegorzek at intel.com>
> Signed-off-by: Mika Kuoppala <mika.kuoppala at linux.intel.com>
> Signed-off-by: Francois Dugast <francois.dugast at intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
> ---
> include/uapi/drm/xe_drm.h | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/include/uapi/drm/xe_drm.h b/include/uapi/drm/xe_drm.h
> index d66e8dc72e96..eb53c7a367a1 100644
> --- a/include/uapi/drm/xe_drm.h
> +++ b/include/uapi/drm/xe_drm.h
> @@ -613,6 +613,9 @@ struct drm_xe_vm_destroy {
> };
>
> struct drm_xe_vm_bind_op {
> + /** @extensions: Pointer to the first extension struct, if any */
> + __u64 extensions;
> +
> /**
> * @obj: GEM object to operate on, MBZ for MAP_USERPTR, MBZ for UNMAP
> */
> --
> 2.34.1
>
More information about the Intel-xe
mailing list