openwrt/target/linux/bcm27xx/patches-6.6/950-0556-drm-v3d-update-UAPI-to-match-user-space-for-V3D-7.x.patch
Álvaro Fernández Rojas 8c405cdccc bcm27xx: add 6.6 kernel patches
The patches were generated from the RPi repo with the following command:
git format-patch v6.6.34..rpi-6.1.y

Some patches needed rebasing and, as usual, the applied and reverted, wireless
drivers, Github workflows, READMEs and defconfigs patches were removed.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-06-18 18:52:49 +02:00

26 lines
700 B
Diff

From adc98f6eb15f7b68ad85db1cb5379a86ce3e597a Mon Sep 17 00:00:00 2001
From: Iago Toral Quiroga <itoral@igalia.com>
Date: Thu, 2 Mar 2023 11:52:08 +0100
Subject: [PATCH 0556/1085] drm/v3d: update UAPI to match user-space for V3D
7.x
V3D t.x takes a new parameter to configure TFU jobs that needs
to be provided by user space.
---
include/uapi/drm/v3d_drm.h | 4 ++++
1 file changed, 4 insertions(+)
--- a/include/uapi/drm/v3d_drm.h
+++ b/include/uapi/drm/v3d_drm.h
@@ -319,6 +319,10 @@ struct drm_v3d_submit_tfu {
/* Pointer to an array of ioctl extensions*/
__u64 extensions;
+
+ struct {
+ __u32 ioc;
+ } v71;
};
/* Submits a compute shader for dispatch. This job will block on any