[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180207014821.164536-1-acourbot@chromium.org>
Date: Wed, 7 Feb 2018 10:48:04 +0900
From: Alexandre Courbot <acourbot@...omium.org>
To: Mauro Carvalho Chehab <mchehab@...nel.org>,
Hans Verkuil <hverkuil@...all.nl>,
Laurent Pinchart <laurent.pinchart@...asonboard.com>,
Pawel Osciak <posciak@...omium.org>,
Marek Szyprowski <m.szyprowski@...sung.com>,
Tomasz Figa <tfiga@...omium.org>,
Sakari Ailus <sakari.ailus@...ux.intel.com>,
Gustavo Padovan <gustavo.padovan@...labora.com>
Cc: linux-media@...r.kernel.org, linux-kernel@...r.kernel.org,
Alexandre Courbot <acourbot@...omium.org>
Subject: [RFCv3 00/17] Request API, take three
As discussed yesterday, here is a rebase on the media master branch. A
few minor fixes for typos have also slept in, but otherwise this is
equivalent to v2. I expect to have the buffer queueing behavior fixed in
the next version.
Alexandre Courbot (9):
media: add request API core and UAPI
media: videobuf2: add support for requests
media: vb2: add support for requests in QBUF ioctl
v4l2: add request API support
videodev2.h: add request_fd field to v4l2_ext_controls
v4l2-ctrls: support requests in EXT_CTRLS ioctls
v4l2: document the request API interface
media: vim2m: add media device
media: vim2m: add request support
Hans Verkuil (7):
videodev2.h: Add request_fd field to v4l2_buffer
v4l2-ctrls: v4l2_ctrl_add_handler: add from_other_dev
v4l2-ctrls: prepare internal structs for request API
v4l2-ctrls: add core request API
v4l2-ctrls: use ref in helper instead of ctrl
v4l2-ctrls: support g/s_ext_ctrls for requests
v4l2-ctrls: add v4l2_ctrl_request_setup
Laurent Pinchart (1):
media: Document the media request API
Documentation/media/uapi/mediactl/media-funcs.rst | 1 +
.../media/uapi/mediactl/media-ioc-request-cmd.rst | 142 ++++++++++
Documentation/media/uapi/v4l/buffer.rst | 10 +-
Documentation/media/uapi/v4l/common.rst | 1 +
Documentation/media/uapi/v4l/request-api.rst | 236 ++++++++++++++++
.../media/uapi/v4l/vidioc-g-ext-ctrls.rst | 16 +-
Documentation/media/uapi/v4l/vidioc-qbuf.rst | 21 ++
drivers/media/Makefile | 3 +-
drivers/media/common/videobuf2/videobuf2-core.c | 133 ++++++++-
drivers/media/common/videobuf2/videobuf2-v4l2.c | 31 +-
drivers/media/dvb-frontends/rtl2832_sdr.c | 5 +-
drivers/media/media-device.c | 7 +
drivers/media/media-request-mgr.c | 105 +++++++
drivers/media/media-request.c | 311 +++++++++++++++++++++
drivers/media/pci/bt8xx/bttv-driver.c | 2 +-
drivers/media/pci/cx23885/cx23885-417.c | 2 +-
drivers/media/pci/cx88/cx88-blackbird.c | 2 +-
drivers/media/pci/cx88/cx88-video.c | 2 +-
drivers/media/pci/saa7134/saa7134-empress.c | 4 +-
drivers/media/pci/saa7134/saa7134-video.c | 2 +-
drivers/media/platform/exynos4-is/fimc-capture.c | 2 +-
drivers/media/platform/rcar-vin/rcar-v4l2.c | 3 +-
drivers/media/platform/rcar_drif.c | 2 +-
drivers/media/platform/soc_camera/soc_camera.c | 3 +-
drivers/media/platform/vim2m.c | 79 ++++++
drivers/media/platform/vivid/vivid-ctrls.c | 46 +--
drivers/media/usb/cpia2/cpia2_v4l.c | 2 +-
drivers/media/usb/cx231xx/cx231xx-417.c | 2 +-
drivers/media/usb/cx231xx/cx231xx-video.c | 4 +-
drivers/media/usb/msi2500/msi2500.c | 2 +-
drivers/media/usb/tm6000/tm6000-video.c | 2 +-
drivers/media/v4l2-core/Makefile | 2 +-
drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 9 +-
drivers/media/v4l2-core/v4l2-ctrls.c | 238 ++++++++++++++--
drivers/media/v4l2-core/v4l2-device.c | 3 +-
drivers/media/v4l2-core/v4l2-ioctl.c | 125 ++++++++-
drivers/media/v4l2-core/v4l2-request.c | 54 ++++
drivers/staging/media/imx/imx-media-dev.c | 2 +-
drivers/staging/media/imx/imx-media-fim.c | 2 +-
include/media/media-device.h | 3 +
include/media/media-entity.h | 9 +
include/media/media-request-mgr.h | 73 +++++
include/media/media-request.h | 186 ++++++++++++
include/media/v4l2-ctrls.h | 17 +-
include/media/v4l2-request.h | 34 +++
include/media/videobuf2-core.h | 15 +-
include/media/videobuf2-v4l2.h | 2 +
include/uapi/linux/media.h | 10 +
include/uapi/linux/videodev2.h | 6 +-
49 files changed, 1886 insertions(+), 87 deletions(-)
create mode 100644 Documentation/media/uapi/mediactl/media-ioc-request-cmd.rst
create mode 100644 Documentation/media/uapi/v4l/request-api.rst
create mode 100644 drivers/media/media-request-mgr.c
create mode 100644 drivers/media/media-request.c
create mode 100644 drivers/media/v4l2-core/v4l2-request.c
create mode 100644 include/media/media-request-mgr.h
create mode 100644 include/media/media-request.h
create mode 100644 include/media/v4l2-request.h
--
2.16.0.rc1.238.g530d649a79-goog
Powered by blists - more mailing lists