[GIT FIXES FOR v5.9] Remove V4L2_FLAG_MEMORY_NON_CONSISTENT flag

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>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@xxxxxxxxx/

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(-)



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux