public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCHv5 0/8] videobuf2: support new noncontiguous DMA API
@ 2021-08-23 12:22 Sergey Senozhatsky
  2021-08-23 12:22 ` [PATCHv5 1/8] videobuf2: rework vb2_mem_ops API Sergey Senozhatsky
                   ` (7 more replies)
  0 siblings, 8 replies; 11+ messages in thread
From: Sergey Senozhatsky @ 2021-08-23 12:22 UTC (permalink / raw)
  To: Tomasz Figa, Hans Verkuil
  Cc: Marek Szyprowski, Dafna Hirschfeld, Ricardo Ribalda,
	Christoph Hellwig, Mauro Carvalho Chehab, linux-media,
	linux-kernel, Sergey Senozhatsky

Hello,

        The series adds support for noncontiguous DMA API and
V4L2_MEMORY_FLAG_NON_COHERENT UAPI.

v5:
https://lore.kernel.org/lkml/20210727070517.443167-1-senozhatsky@chromium.org/

-- addressed feedback from Hans
-- typos and grammar
-- reversed vb2 queue and vb2 non-coherent memory flag

Sergey Senozhatsky (8):
  videobuf2: rework vb2_mem_ops API
  videobuf2: inverse buffer cache_hints flags
  videobuf2: split buffer cache_hints initialisation
  videobuf2: move cache_hints handling to allocators
  videobuf2: add V4L2_MEMORY_FLAG_NON_COHERENT flag
  videobuf2: add queue memory coherency parameter
  videobuf2: handle V4L2_MEMORY_FLAG_NON_COHERENT flag
  videobuf2: handle non-contiguous DMA allocations

 .../userspace-api/media/v4l/buffer.rst        |  40 +++-
 .../media/v4l/vidioc-create-bufs.rst          |   7 +-
 .../media/v4l/vidioc-reqbufs.rst              |  16 +-
 .../media/common/videobuf2/videobuf2-core.c   | 126 +++++++----
 .../common/videobuf2/videobuf2-dma-contig.c   | 198 ++++++++++++++----
 .../media/common/videobuf2/videobuf2-dma-sg.c |  39 ++--
 .../media/common/videobuf2/videobuf2-v4l2.c   |  59 +++---
 .../common/videobuf2/videobuf2-vmalloc.c      |  30 +--
 drivers/media/dvb-core/dvb_vb2.c              |   2 +-
 drivers/media/v4l2-core/v4l2-compat-ioctl32.c |   9 +-
 drivers/media/v4l2-core/v4l2-ioctl.c          |   4 +-
 include/media/videobuf2-core.h                |  59 +++---
 include/uapi/linux/videodev2.h                |  11 +-
 13 files changed, 419 insertions(+), 181 deletions(-)

-- 
2.33.0.rc2.250.ged5fa647cd-goog


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

end of thread, other threads:[~2021-09-09  5:12 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-23 12:22 [PATCHv5 0/8] videobuf2: support new noncontiguous DMA API Sergey Senozhatsky
2021-08-23 12:22 ` [PATCHv5 1/8] videobuf2: rework vb2_mem_ops API Sergey Senozhatsky
2021-08-23 12:22 ` [PATCHv5 2/8] videobuf2: inverse buffer cache_hints flags Sergey Senozhatsky
2021-08-23 12:22 ` [PATCHv5 3/8] videobuf2: split buffer cache_hints initialisation Sergey Senozhatsky
2021-08-23 12:22 ` [PATCHv5 4/8] videobuf2: move cache_hints handling to allocators Sergey Senozhatsky
2021-08-23 12:22 ` [PATCHv5 5/8] videobuf2: add V4L2_MEMORY_FLAG_NON_COHERENT flag Sergey Senozhatsky
2021-08-23 12:22 ` [PATCHv5 6/8] videobuf2: add queue memory coherency parameter Sergey Senozhatsky
2021-08-23 12:22 ` [PATCHv5 7/8] videobuf2: handle V4L2_MEMORY_FLAG_NON_COHERENT flag Sergey Senozhatsky
2021-08-23 12:22 ` [PATCHv5 8/8] videobuf2: handle non-contiguous DMA allocations Sergey Senozhatsky
2021-08-30 13:12   ` Tomasz Figa
2021-09-09  5:12     ` Sergey Senozhatsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox