linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] Contiguous DMA buffer support for the Virtual Video Test Driver
@ 2014-10-22 10:03 Philipp Zabel
  2014-10-22 10:03 ` [PATCH 1/5] [media] vivid: select CONFIG_FB_CFB_FILLRECT/COPYAREA/IMAGEBLIT Philipp Zabel
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Philipp Zabel @ 2014-10-22 10:03 UTC (permalink / raw)
  To: Hans Verkuil; +Cc: Mauro Carvalho Chehab, linux-media, kernel, Philipp Zabel

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


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

end of thread, other threads:[~2014-11-04 11:51 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-22 10:03 [PATCH 0/5] Contiguous DMA buffer support for the Virtual Video Test Driver Philipp Zabel
2014-10-22 10:03 ` [PATCH 1/5] [media] vivid: select CONFIG_FB_CFB_FILLRECT/COPYAREA/IMAGEBLIT Philipp Zabel
2014-10-22 10:07   ` Hans Verkuil
2014-10-22 10:03 ` [PATCH 2/5] [media] vivid: remove unused videobuf2-vmalloc headers Philipp Zabel
2014-10-22 10:08   ` Hans Verkuil
2014-10-22 10:03 ` [PATCH 3/5] [media] vivid: convert to platform device Philipp Zabel
2014-10-22 10:10   ` Hans Verkuil
2014-10-22 10:03 ` [PATCH 4/5] [media] vivid: add support for contiguous DMA buffers Philipp Zabel
2014-10-22 10:14   ` Hans Verkuil
2014-10-22 11:50     ` Philipp Zabel
2014-11-03 13:38   ` Hans Verkuil
2014-11-04 11:51     ` Philipp Zabel
2014-10-22 10:03 ` [PATCH 5/5] [media] vivid: enable VIDIOC_EXPBUF Philipp Zabel
2014-10-22 10:15   ` Hans Verkuil

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