linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/9] Drop VB2_USERPTR + dma-contig combo
@ 2020-02-21  8:45 Hans Verkuil
  2020-02-21  8:45 ` [RFC PATCH 1/9] mtk-vcodec: drop VB2_USERPTR Hans Verkuil
                   ` (8 more replies)
  0 siblings, 9 replies; 19+ messages in thread
From: Hans Verkuil @ 2020-02-21  8:45 UTC (permalink / raw)
  To: linux-media

The user of VB2_USERPTR with vb2_dma_contig_memops makes no sense
since it requires that the user pointer buffer is in contiguous
memory. This was required with old hacks in the past, but these
days we have DMABUF to take that role.

This RFC series drops VB2_USERPTR from any vb2_queue that uses
vb2_dma_contig_memops.

Note that this series depends on a patch that adds VB2_DMABUF
to any driver that didn't have that:

https://patchwork.linuxtv.org/patch/61782/

And for the rkisp1 a patch to remove VB2_USERPTR has already
been posted:

https://patchwork.linuxtv.org/patch/61780/

Regards,

	Hans

Hans Verkuil (9):
  mtk-vcodec: drop VB2_USERPTR
  solo6x10: drop VB2_USERPTR
  m2m-deinterlace: drop VB2_USERPTR
  mcam-core: drop VB2_USERPTR
  sh_veu: drop VB2_USERPTR
  mx2_emmaprp: drop VB2_USERPTR
  davinci: drop VB2_USERPTR
  exynos/s3c/s5p: drop VB2_USERPTR
  omap3isp/rcar_fdp1/vsp1/xilinx: drop VB2_USERPTR

 drivers/media/pci/solo6x10/solo6x10-v4l2.c         | 2 +-
 drivers/media/platform/davinci/vpbe_display.c      | 2 +-
 drivers/media/platform/davinci/vpif_capture.c      | 2 +-
 drivers/media/platform/davinci/vpif_display.c      | 2 +-
 drivers/media/platform/exynos-gsc/gsc-m2m.c        | 4 ++--
 drivers/media/platform/exynos4-is/fimc-capture.c   | 2 +-
 drivers/media/platform/exynos4-is/fimc-isp-video.c | 2 +-
 drivers/media/platform/exynos4-is/fimc-lite.c      | 2 +-
 drivers/media/platform/exynos4-is/fimc-m2m.c       | 4 ++--
 drivers/media/platform/m2m-deinterlace.c           | 4 ++--
 drivers/media/platform/marvell-ccic/mcam-core.c    | 2 +-
 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c | 9 ++-------
 drivers/media/platform/mx2_emmaprp.c               | 4 ++--
 drivers/media/platform/omap3isp/ispvideo.c         | 2 +-
 drivers/media/platform/rcar_fdp1.c                 | 4 ++--
 drivers/media/platform/s3c-camif/camif-capture.c   | 2 +-
 drivers/media/platform/s5p-g2d/g2d.c               | 4 ++--
 drivers/media/platform/s5p-jpeg/jpeg-core.c        | 4 ++--
 drivers/media/platform/s5p-mfc/s5p_mfc.c           | 6 ++----
 drivers/media/platform/sh_veu.c                    | 4 ++--
 drivers/media/platform/vsp1/vsp1_video.c           | 2 +-
 drivers/media/platform/xilinx/xilinx-dma.c         | 2 +-
 22 files changed, 32 insertions(+), 39 deletions(-)

-- 
2.25.0


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

end of thread, other threads:[~2020-02-22 13:14 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-21  8:45 [RFC PATCH 0/9] Drop VB2_USERPTR + dma-contig combo Hans Verkuil
2020-02-21  8:45 ` [RFC PATCH 1/9] mtk-vcodec: drop VB2_USERPTR Hans Verkuil
2020-02-21  8:45 ` [RFC PATCH 2/9] solo6x10: " Hans Verkuil
2020-02-21  8:45 ` [RFC PATCH 3/9] m2m-deinterlace: " Hans Verkuil
2020-02-21  8:45 ` [RFC PATCH 4/9] mcam-core: " Hans Verkuil
2020-02-21  8:45 ` [RFC PATCH 5/9] sh_veu: " Hans Verkuil
2020-02-21  8:45 ` [RFC PATCH 6/9] mx2_emmaprp: " Hans Verkuil
2020-02-21  8:45 ` [RFC PATCH 7/9] davinci: " Hans Verkuil
2020-02-21  8:45 ` [RFC PATCH 8/9] exynos/s3c/s5p: " Hans Verkuil
2020-02-21  8:53   ` Tomasz Figa
2020-02-21 11:54     ` Hans Verkuil
2020-02-21 13:11       ` Marek Szyprowski
2020-02-21 13:34       ` Tomasz Figa
2020-02-21  8:45 ` [RFC PATCH 9/9] omap3isp/rcar_fdp1/vsp1/xilinx: " Hans Verkuil
2020-02-21  9:01   ` Kieran Bingham
2020-02-21 14:31     ` Laurent Pinchart
2020-02-21 19:46       ` Sakari Ailus
2020-02-22 10:43         ` Laurent Pinchart
2020-02-22 13:13           ` Sakari Ailus

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