aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMika Kuoppala <[email protected]>2023-11-22 14:38:20 +0000
committerRodrigo Vivi <[email protected]>2023-12-21 11:45:12 -0500
commitc4ad3710f51e8f0f2e169315e07e9e0c62dcded3 (patch)
treeae49317456245cfb7565d2f77224e9ef24f5e2a8
parentff765b7771d874efd3089f90a8944a958ab05874 (diff)
drm/xe: Extend drm_xe_vm_bind_op
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 <[email protected]> Cc: Matthew Brost <[email protected]> Cc: Lucas De Marchi <[email protected]> Cc: Francois Dugast <[email protected]> Cc: Joonas Lahtinen <[email protected]> Cc: Dominik Grzegorzek <[email protected]> Signed-off-by: Mika Kuoppala <[email protected]> Signed-off-by: Francois Dugast <[email protected]> Reviewed-by: Rodrigo Vivi <[email protected]> Reviewed-by: José Roberto de Souza <[email protected]> Signed-off-by: Rodrigo Vivi <[email protected]>
-rw-r--r--include/uapi/drm/xe_drm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/drm/xe_drm.h b/include/uapi/drm/xe_drm.h
index 1a844fa7af8a..4c906ff2429e 100644
--- a/include/uapi/drm/xe_drm.h
+++ b/include/uapi/drm/xe_drm.h
@@ -631,6 +631,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
*/