Hi Hans, On Friday 04 December 2015 23:50:31 Hans Verkuil wrote: > On December 4, 2015 11:05:48 PM GMT+01:00, Laurent Pinchart wrote: > > To test buffer sharing with devices that require contiguous memory > > buffers the dma-contig allocator is required. Support it and make the > > allocator selectable through a module parameter. Support for the two > > memory allocators can also be individually selected at compile-time to > > avoid bloating the kernel with an unneeded allocator. > > > > Signed-off-by: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx> > >--- > > > > drivers/media/platform/vivid/Kconfig | 21 ++++++++++++- > > drivers/media/platform/vivid/vivid-core.c | 44 ++++++++++++++++++++---- > > drivers/media/platform/vivid/vivid-core.h | 1 + > > drivers/media/platform/vivid/vivid-sdr-cap.c | 3 ++ > > drivers/media/platform/vivid/vivid-vbi-cap.c | 2 ++ > > drivers/media/platform/vivid/vivid-vbi-out.c | 1 + > > drivers/media/platform/vivid/vivid-vid-cap.c | 9 ++---- > > drivers/media/platform/vivid/vivid-vid-out.c | 9 ++---- > > 8 files changed, 72 insertions(+), 18 deletions(-) [snip] > Apologies for top posting, I'm sending this from my Android phone. No need to, your message was at the bottom :-) > Laurent, did you test this on a regular pc? I've tried this before, but > failed since I couldn't make it work on a pc. I didn't spend a huge amount > of time on it, though. > > Just want to make sure that this case is covered. I haven't tested that, no. Let's see who from you or me will find free time first (hint: it might be you :-)). -- Regards, Laurent Pinchart -- 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