[RFC PATCH 0/9] Drop VB2_USERPTR + dma-contig combo

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

 



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




[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