bcm27xx: update 6.1 patches to latest version
[openwrt/staging/dangole.git] / target / linux / bcm27xx / patches-6.1 / 950-0903-drm-v3d-update-UAPI-to-match-user-space-for-V3D-7.x.patch
1 From 22fb30936524ae96151789741885edbc45efb53d Mon Sep 17 00:00:00 2001
2 From: Iago Toral Quiroga <itoral@igalia.com>
3 Date: Thu, 2 Mar 2023 11:52:08 +0100
4 Subject: [PATCH] drm/v3d: update UAPI to match user-space for V3D 7.x
5
6 V3D t.x takes a new parameter to configure TFU jobs that needs
7 to be provided by user space.
8 ---
9 include/uapi/drm/v3d_drm.h | 4 ++++
10 1 file changed, 4 insertions(+)
11
12 --- a/include/uapi/drm/v3d_drm.h
13 +++ b/include/uapi/drm/v3d_drm.h
14 @@ -319,6 +319,10 @@ struct drm_v3d_submit_tfu {
15
16 /* Pointer to an array of ioctl extensions*/
17 __u64 extensions;
18 +
19 + struct {
20 + __u32 ioc;
21 + } v71;
22 };
23
24 /* Submits a compute shader for dispatch. This job will block on any