diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-04-23 09:15:54 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2023-01-22 09:33:33 +0100 |
commit | a418bb3f30d9ac570d51ff3f700851b78da2a8a9 (patch) | |
tree | fb466f26fe0b5ea7070636c5a49abc07d91344d2 /kernel/futex | |
parent | ea73eda50813df0dadbbd6fe2b31ae9484da0cc0 (diff) | |
download | linux-a418bb3f30d9ac570d51ff3f700851b78da2a8a9.tar.gz linux-a418bb3f30d9ac570d51ff3f700851b78da2a8a9.tar.bz2 linux-a418bb3f30d9ac570d51ff3f700851b78da2a8a9.zip |
media: subdev: Add [GS]_ROUTING subdev ioctls and operations
Add support for subdev internal routing. A route is defined as a single
stream from a sink pad to a source pad.
The userspace can configure the routing via two new ioctls,
VIDIOC_SUBDEV_G_ROUTING and VIDIOC_SUBDEV_S_ROUTING, and subdevs can
implement the functionality with v4l2_subdev_pad_ops.set_routing().
- Add sink and source streams for multiplexed links
- Copy the argument back in case of an error. This is needed to let the
caller know the number of routes.
- Expand and refine documentation.
- Make the 'routes' pointer a __u64 __user pointer so that a compat32
version of the ioctl is not required.
- Add struct v4l2_subdev_krouting to be used for subdevice operations.
- Fix typecasing warnings
- Check sink & source pad types
- Add 'which' field
- Routing to subdev state
- Dropped get_routing subdev op
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'kernel/futex')
0 files changed, 0 insertions, 0 deletions