All of lore.kernel.org
 help / color / mirror / Atom feed
* [GIT FIXES FOR v5.9] Remove V4L2_FLAG_MEMORY_NON_CONSISTENT flag
@ 2020-09-11 10:52 Hans Verkuil
  2020-09-11 11:26 ` [GIT FIXES FOR v5.9] Remove V4L2_FLAG_MEMORY_NON_CONSISTENT flag (#66890) Jenkins
  2020-09-17  7:20 ` [GIT FIXES FOR v5.9] Remove V4L2_FLAG_MEMORY_NON_CONSISTENT flag Mauro Carvalho Chehab
  0 siblings, 2 replies; 3+ messages in thread
From: Hans Verkuil @ 2020-09-11 10:52 UTC (permalink / raw)
  To: Linux Media Mailing List

From the commit log of the patch:

--------------------------------------------------------------------
The patch partially reverts some of the UAPI bits of the buffer
cache management hints. Namely, the queue consistency (memory
coherency) user-space hint because, as it turned out, the kernel
implementation of this feature was misusing DMA_ATTR_NON_CONSISTENT.

The patch revers both kernel and user space parts: removes the
DMA consistency attr functions, rolls back changes to v4l2_requestbuffers,
v4l2_create_buffers structures and corresponding UAPI functions
(plus compat32 layer) and cleans up the documentation.
--------------------------------------------------------------------

The intention is that this feature will return once proper low-level support
for this has been sorted. A patch to revert the v4l-utils changes is ready
to be merged once this patch made it's way to our master branch:

https://patchwork.linuxtv.org/project/linux-media/patch/20200911030952.74468-1-sergey.senozhatsky@gmail.com/

I've tested this with the test-media script.

Regards,

	Hans

The following changes since commit 93c16fabdb74a9c1a427402fc1fe588a45130c5b:

  media: ov8856: Add support for 3264x2448 mode (2020-09-10 14:29:35 +0200)

are available in the Git repository at:

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

for you to fetch changes up to d36642b40255022dda1cfcaebe82e40a592d4ee8:

  media/v4l2: remove V4L2_FLAG_MEMORY_NON_CONSISTENT flag (2020-09-11 12:26:54 +0200)

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

----------------------------------------------------------------
Sergey Senozhatsky (1):
      media/v4l2: remove V4L2_FLAG_MEMORY_NON_CONSISTENT flag

 Documentation/userspace-api/media/v4l/buffer.rst             | 17 -----------------
 Documentation/userspace-api/media/v4l/vidioc-create-bufs.rst |  6 +-----
 Documentation/userspace-api/media/v4l/vidioc-reqbufs.rst     | 12 ++----------
 drivers/media/common/videobuf2/videobuf2-core.c              | 46 ++++++----------------------------------------
 drivers/media/common/videobuf2/videobuf2-dma-contig.c        | 19 -------------------
 drivers/media/common/videobuf2/videobuf2-dma-sg.c            |  3 +--
 drivers/media/common/videobuf2/videobuf2-v4l2.c              | 18 ++----------------
 drivers/media/dvb-core/dvb_vb2.c                             |  2 +-
 drivers/media/v4l2-core/v4l2-compat-ioctl32.c                | 10 ++--------
 drivers/media/v4l2-core/v4l2-ioctl.c                         |  5 ++++-
 include/media/videobuf2-core.h                               |  7 ++-----
 include/uapi/linux/videodev2.h                               | 13 ++-----------
 12 files changed, 23 insertions(+), 135 deletions(-)

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

end of thread, other threads:[~2020-09-17  7:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-11 10:52 [GIT FIXES FOR v5.9] Remove V4L2_FLAG_MEMORY_NON_CONSISTENT flag Hans Verkuil
2020-09-11 11:26 ` [GIT FIXES FOR v5.9] Remove V4L2_FLAG_MEMORY_NON_CONSISTENT flag (#66890) Jenkins
2020-09-17  7:20 ` [GIT FIXES FOR v5.9] Remove V4L2_FLAG_MEMORY_NON_CONSISTENT flag Mauro Carvalho Chehab

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.