[PATCH v7 0/6] V4L2 Explicit Synchronization

From: Gustavo Padovan
Date: Wed Jan 10 2018 - 11:09:51 EST


From: Gustavo Padovan <gustavo.padovan@xxxxxxxxxxxxx>

Hi,

v7 bring a fix for a crash when not using fences and a uAPI fix.
I've done a bit more of testing on it and also measured some
performance. On a intel laptop a DRM<->V4L2 pipeline with fences is
runnning twice as faster than the same pipeline with no fences.

For more details on how fences work refer to patch 6 in this series.

The test tools I've been using are:
https://gitlab.collabora.com/padovan/drm-v4l2-test
https://gitlab.collabora.com/padovan/v4l2-fences-test

Please review,

Gustavo

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/common/videobuf/videobuf2-core.c | 253 +++++++++++++++++++++--
drivers/media/common/videobuf/videobuf2-v4l2.c | 51 ++++-
drivers/media/v4l2-core/Kconfig | 33 +++
drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 4 +-
include/media/videobuf2-core.h | 41 +++-
include/uapi/linux/videodev2.h | 8 +-
10 files changed, 437 insertions(+), 27 deletions(-)

--
2.14.3