[PATCH v3 1/4] drm/v3d: update UAPI to match user-space for V3D 7.x

From: Iago Toral Quiroga
Date: Tue Oct 31 2023 - 03:39:59 EST


V3D 7.x takes a new parameter to configure TFU jobs that needs
to be provided by user space.

Signed-off-by: Iago Toral Quiroga <itoral@xxxxxxxxxx>
Reviewed-by: Maíra Canal <mcanal@xxxxxxxxxx>
---
v2: added s-o-b, fixed typo in commit message (Maíra Canal)

include/uapi/drm/v3d_drm.h | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/include/uapi/drm/v3d_drm.h b/include/uapi/drm/v3d_drm.h
index 3dfc0af8756a..1a7d7a689de3 100644
--- a/include/uapi/drm/v3d_drm.h
+++ b/include/uapi/drm/v3d_drm.h
@@ -319,6 +319,11 @@ struct drm_v3d_submit_tfu {

/* Pointer to an array of ioctl extensions*/
__u64 extensions;
+
+ struct {
+ __u32 ioc;
+ __u32 pad;
+ } v71;
};

/* Submits a compute shader for dispatch. This job will block on any
--
2.39.2