[PATCH 0/5] Contiguous DMA buffer support for the Virtual Video Test Driver

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

 



Hi,

to use vivid as test source for a hardware pipeline with elements
that can only handle contiguous DMA buffers, I'd like to add support
for the videobuf2-dma-contig allocator and enable VIDIOC_EXPBUF in
vivid.
Since DMA memory should be associated with a struct device, I have
added a platform device to vivid.
There is a new 'allocators' module parameter array that selects the
dma-contig allocator for an instance when the value is set to 1:

    modprobe vivid n_devs=2 allocators=1,1

regards
Philipp

Philipp Zabel (5):
  [media] vivid: select CONFIG_FB_CFB_FILLRECT/COPYAREA/IMAGEBLIT
  [media] vivid: remove unused videobuf2-vmalloc headers
  [media] vivid: convert to platform device
  [media] vivid: add support for contiguous DMA buffers
  [media] vivid: enable VIDIOC_EXPBUF

 drivers/media/platform/vivid/Kconfig             |  4 ++
 drivers/media/platform/vivid/vivid-core.c        | 69 +++++++++++++++++++++---
 drivers/media/platform/vivid/vivid-core.h        |  1 +
 drivers/media/platform/vivid/vivid-kthread-cap.c |  1 -
 drivers/media/platform/vivid/vivid-kthread-out.c |  1 -
 drivers/media/platform/vivid/vivid-osd.c         |  1 -
 drivers/media/platform/vivid/vivid-vid-cap.c     |  4 +-
 drivers/media/platform/vivid/vivid-vid-out.c     |  5 +-
 8 files changed, 73 insertions(+), 13 deletions(-)

-- 
2.1.1

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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