Hi Hans,

> This makes no sense. The vivi driver uses vb2-vmalloc as well, and that works
> perfectly fine in userptr mode. Applying this patch breaks vivi userptr mode,
> so this is a NACK for this patch.

Don't misunderstand, I acknowledge the very real possibility that I
don't fully understand the underlying problem.  And to be clear I
wasn't intending to send the patch to this mailing list expecting it
to be merged.  That said, I reproduced it on the ti81xx platform on
both em28xx and uvcvideo, so I was comfortable it wasn't an issue with
my em28xx VB2 conversion.

> I wonder though if this is related to this thread:
>
> http://www.spinics.net/lists/linux-media/msg75815.html
>
> I suspect that in your case the vb2_get_contig_userptr() function is called
> which as far as I can tell is the wrong function to call for the vmalloc case
> since there is absolutely no requirement that user pointers should be
> physically contiguous for vmalloc drivers.

Entirely possible.  I hadn't followed that thread previously but will
take a look.

Devin

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to