summaryrefslogtreecommitdiff
path: root/include/linux/media.h
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2019-05-23 11:46:03 +0200
committerJacopo Mondi <jacopo@jmondi.org>2019-06-02 14:31:23 +0200
commit74a56fe51a2ab2e506f27f586ab5400a8a4f2c4f (patch)
tree6ef629612c80e3ee28543f36f3ed8a394043c81a /include/linux/media.h
parent633a56d7cd33e052fa0092d3ef5bccd7bd7ed427 (diff)
include: linux: Update Linux headers to v5.1
Update kernel headers to v5.1 The most notable introduction for libcamera is support for V4L2_BUF_TYPE_META_OUTPUT. Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'include/linux/media.h')
-rw-r--r--include/linux/media.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/media.h b/include/linux/media.h
index c7566461..29cc82b8 100644
--- a/include/linux/media.h
+++ b/include/linux/media.h
@@ -350,6 +350,14 @@ struct media_v2_topology {
#define MEDIA_IOC_ENUM_LINKS _IOWR('|', 0x02, struct media_links_enum)
#define MEDIA_IOC_SETUP_LINK _IOWR('|', 0x03, struct media_link_desc)
#define MEDIA_IOC_G_TOPOLOGY _IOWR('|', 0x04, struct media_v2_topology)
+#define MEDIA_IOC_REQUEST_ALLOC _IOR ('|', 0x05, int)
+
+/*
+ * These ioctls are called on the request file descriptor as returned
+ * by MEDIA_IOC_REQUEST_ALLOC.
+ */
+#define MEDIA_REQUEST_IOC_QUEUE _IO('|', 0x80)
+#define MEDIA_REQUEST_IOC_REINIT _IO('|', 0x81)
/*