[PATCH v6 0/6] V4L2 Explicit Synchronization

From: Gustavo Padovan
Date: Mon Dec 11 2017 - 13:28:04 EST


From: Gustavo Padovan <gustavo.padovan@xxxxxxxxxxxxx>

Hi,

One more iteration of the explicit fences patches, please refer
to the previous version[1] for more details about the general
mechanism

This version makes the patchset and the implementation much more
simple, to start we are not using a ordered capability anymore,
but instead we have a VIDIOC_ENUM_FMT flag to tell when the
queue in not ordered. Drivers with ordered queues/formats don't
need implement anything. See patches 1 and 2 for more details.

The implementation of in-fences and out-fences were condensed in
just patches 4 and 5, making it more self-contained and easy to
understand. See the patches for detailed changelog.

Please review! Thanks.

Gustavo.

[1] https://lkml.org/lkml/2017/11/15/550

Gustavo Padovan (6):
[media] vb2: add is_unordered callback for drivers
[media] v4l: add 'unordered' flag to format description ioctl
[media] vb2: add explicit fence user API
[media] vb2: add in-fence support to QBUF
[media] vb2: add out-fence support to QBUF
[media] v4l: Document explicit synchronization behavior

Documentation/media/uapi/v4l/buffer.rst | 15 ++
Documentation/media/uapi/v4l/vidioc-enum-fmt.rst | 3 +
Documentation/media/uapi/v4l/vidioc-qbuf.rst | 47 ++++-
Documentation/media/uapi/v4l/vidioc-querybuf.rst | 9 +-
drivers/media/usb/cpia2/cpia2_v4l.c | 2 +-
drivers/media/v4l2-core/Kconfig | 1 +
drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 4 +-
drivers/media/v4l2-core/videobuf2-core.c | 239 +++++++++++++++++++++--
drivers/media/v4l2-core/videobuf2-v4l2.c | 52 ++++-
include/media/videobuf2-core.h | 41 +++-
include/uapi/linux/videodev2.h | 8 +-
11 files changed, 393 insertions(+), 28 deletions(-)

--
2.13.6