linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL FOR v5.9 v2] Implement V4L2_BUF_FLAG_NO_CACHE_* flags
@ 2020-06-10 13:01 Hans Verkuil
  2020-06-10 14:03 ` [GIT PULL FOR v5.9 v2] Implement V4L2_BUF_FLAG_NO_CACHE_* flags (#64421) Jenkins
  2020-06-11  2:43 ` [GIT PULL FOR v5.9 v2] Implement V4L2_BUF_FLAG_NO_CACHE_* flags Sergey Senozhatsky
  0 siblings, 2 replies; 3+ messages in thread
From: Hans Verkuil @ 2020-06-10 13:01 UTC (permalink / raw)
  To: Linux Media Mailing List; +Cc: Sergey Senozhatsky

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/64374/

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

This v2 PR is identical to v1, except for folding this bug fix patch into
patch "videobuf2: add queue memory consistency parameter":
https://patchwork.linuxtv.org/patch/64373/

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 a0bd98d132395e6f2660cfbaad376cb92261a5b8:

  media: vivid: add cache_hints module param (2020-06-10 12:31:56 +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              | 120 +++++++++++++++++++++++++++++-----------
 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, 365 insertions(+), 73 deletions(-)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [GIT PULL FOR v5.9 v2] Implement V4L2_BUF_FLAG_NO_CACHE_* flags (#64421)
  2020-06-10 13:01 [GIT PULL FOR v5.9 v2] Implement V4L2_BUF_FLAG_NO_CACHE_* flags Hans Verkuil
@ 2020-06-10 14:03 ` Jenkins
  2020-06-11  2:43 ` [GIT PULL FOR v5.9 v2] Implement V4L2_BUF_FLAG_NO_CACHE_* flags Sergey Senozhatsky
  1 sibling, 0 replies; 3+ messages in thread
From: Jenkins @ 2020-06-10 14:03 UTC (permalink / raw)
  To: mchehab+samsung, linux-media; +Cc: builder

From: builder@linuxtv.org

Pull request: https://patchwork.linuxtv.org/patch/64421/
Build log: https://builder.linuxtv.org/job/patchwork/54797/
Build time: 00:53:23
Link: https://lore.kernel.org/linux-media/c4067de1-6fb2-1fda-9a75-0ad5e9ae78c2@xs4all.nl

gpg: Signature made Wed 10 Jun 2020 10:32:56 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [GIT PULL FOR v5.9 v2] Implement V4L2_BUF_FLAG_NO_CACHE_* flags
  2020-06-10 13:01 [GIT PULL FOR v5.9 v2] Implement V4L2_BUF_FLAG_NO_CACHE_* flags Hans Verkuil
  2020-06-10 14:03 ` [GIT PULL FOR v5.9 v2] Implement V4L2_BUF_FLAG_NO_CACHE_* flags (#64421) Jenkins
@ 2020-06-11  2:43 ` Sergey Senozhatsky
  1 sibling, 0 replies; 3+ messages in thread
From: Sergey Senozhatsky @ 2020-06-11  2:43 UTC (permalink / raw)
  To: Hans Verkuil; +Cc: Linux Media Mailing List, Sergey Senozhatsky

On (20/06/10 15:01), Hans Verkuil wrote:
> 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.

Thank you!

	-ss

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-06-11  2:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-10 13:01 [GIT PULL FOR v5.9 v2] Implement V4L2_BUF_FLAG_NO_CACHE_* flags Hans Verkuil
2020-06-10 14:03 ` [GIT PULL FOR v5.9 v2] Implement V4L2_BUF_FLAG_NO_CACHE_* flags (#64421) Jenkins
2020-06-11  2:43 ` [GIT PULL FOR v5.9 v2] Implement V4L2_BUF_FLAG_NO_CACHE_* flags Sergey Senozhatsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).