mbox series

[GIT,PULL,FOR,v5.9] Implement V4L2_BUF_FLAG_NO_CACHE_* flags

Message ID 16167466-bd12-92af-b67e-6be2341394c6@xs4all.nl (mailing list archive)
State New, archived
Headers show
Series [GIT,PULL,FOR,v5.9] Implement V4L2_BUF_FLAG_NO_CACHE_* flags | expand

Pull-request

git://linuxtv.org/hverkuil/media_tree.git tags/br-v5.9a

Message

Hans Verkuil June 4, 2020, noon UTC
It's been *years* since we added these flags, but now they finally
actually work :-)

Note: this requires a v4l-utils patch for testing:
https://patchwork.linuxtv.org/patch/64213/

With that patch the test-media script runs without failures.

However, I requested some changes to that patch, so the final patch for
v4l-utils will be different (although functionally it will do the same).

I'd like to have this series merged early in the 5.9 cycle if possible
to give it as much test time as possible.

Sergey, thank you for working on this! Very nice to have this implemented
at last.

Regards,

	Hans

The following changes since commit 938b29db3aa9c293c7c1366b16e55e308f1a1ddd:

  media: Documentation: media: Refer to mbus format documentation from CSI-2 docs (2020-05-25 15:47:02 +0200)

are available in the Git repository at:

  git://linuxtv.org/hverkuil/media_tree.git tags/br-v5.9a

for you to fetch changes up to b8e5fbcf6e1127cb409d0fed831e2e25adde87ad:

  media: vivid: add cache_hints module param (2020-06-02 10:23:14 +0200)

----------------------------------------------------------------
Tag branch

----------------------------------------------------------------
Sergey Senozhatsky (14):
      videobuf2: use explicit unsigned int in vb2_queue
      videobuf2: add cache management members
      videobuf2: handle V4L2 buffer cache flags
      videobuf2: add V4L2_FLAG_MEMORY_NON_CONSISTENT flag
      videobuf2: add queue memory consistency parameter
      videobuf2: handle V4L2_FLAG_MEMORY_NON_CONSISTENT flag
      videobuf2: factor out planes prepare/finish functions
      videobuf2: do not sync caches when we are allowed not to
      videobuf2: check ->synced flag in prepare() and finish()
      videobuf2: add begin/end cpu_access callbacks to dma-contig
      videobuf2: add begin/end cpu_access callbacks to dma-sg
      videobuf2: don't test db_attach in dma-contig prepare and finish
      videobuf2: remove redundant if-statement
      media: vivid: add cache_hints module param

 Documentation/admin-guide/media/vivid.rst                    |   9 +++
 Documentation/userspace-api/media/v4l/buffer.rst             |  40 ++++++++++++-
 Documentation/userspace-api/media/v4l/vidioc-create-bufs.rst |   7 ++-
 Documentation/userspace-api/media/v4l/vidioc-reqbufs.rst     |  21 ++++++-
 drivers/media/common/videobuf2/videobuf2-core.c              | 121 ++++++++++++++++++++++++++++++----------
 drivers/media/common/videobuf2/videobuf2-dma-contig.c        |  44 +++++++++++++--
 drivers/media/common/videobuf2/videobuf2-dma-sg.c            |  38 ++++++++++---
 drivers/media/common/videobuf2/videobuf2-v4l2.c              |  72 +++++++++++++++++++++++-
 drivers/media/dvb-core/dvb_vb2.c                             |   2 +-
 drivers/media/test-drivers/vivid/vivid-core.c                |   9 +++
 drivers/media/v4l2-core/v4l2-compat-ioctl32.c                |  10 +++-
 drivers/media/v4l2-core/v4l2-ioctl.c                         |   5 +-
 include/media/videobuf2-core.h                               |  47 ++++++++++++----
 include/uapi/linux/videodev2.h                               |  14 ++++-
 14 files changed, 366 insertions(+), 73 deletions(-)

Comments

Jenkins June 4, 2020, 1:14 p.m. UTC | #1
From: builder@linuxtv.org

Pull request: https://patchwork.linuxtv.org/patch/64270/
Build log: https://builder.linuxtv.org/job/patchwork/53932/
Build time: 01:63:57
Link: https://lore.kernel.org/linux-media/16167466-bd12-92af-b67e-6be2341394c6@xs4all.nl

gpg: Signature made Thu 04 Jun 2020 11:45:46 AM UTC
gpg:                using RSA key AAA7FFBA4D2D77EF4CAEA1421326E0CD23ABDCE5
gpg: Good signature from "Hans Verkuil <hverkuil-cisco@xs4all.nl>" [unknown]
gpg:                 aka "Hans Verkuil <hverkuil@xs4all.nl>" [full]

Summary: 1 patches and/or PDF generation with issues, being 0 at build time