Hi Hans,

Am Montag, den 03.11.2014, 14:38 +0100 schrieb Hans Verkuil:
> Hi Philipp,
> 
> I've been playing with this and I cannot make it work. One thing that is 
> missing
> in this patch is that the device struct isn't passed to v4l2_device_register.
> Without that the vb2 allocation context will actually be a NULL pointer.
> 
> But after fixing that and a few other minor things (see this branch of mine:
> git://linuxtv.org/hverkuil/media_tree.git vivid) it still won't work because
> dma_alloc_coherent fails and that's because the device is not DMA capable.

Thanks you. Unfortunately I don't have experience with coherent dma on
x86 either, I've only tested this on ARM with CMA. I suspect a missing
call to dma_set_mask_and_coherent in the probe function be the issue?

regards
Philipp

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

Reply via email to