The patch titled videobuf-dma-contig: zero copy USERPTR V3 comments has been removed from the -mm tree. Its filename was videobuf-dma-contig-zero-copy-userptr-support-v3-comments.patch This patch was dropped because it was folded into videobuf-dma-contig-zero-copy-userptr-support-v3.patch The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: videobuf-dma-contig: zero copy USERPTR V3 comments From: Magnus Damm <damm@xxxxxxxxxx> This patch adds function descriptions to V3 of the V4L2 videobuf-dma-contig USERPTR zero copy patch. Signed-off-by: Magnus Damm <damm@xxxxxxxxxx> Cc: Johannes Weiner <hannes@xxxxxxxxxxx> Cc: Paul Mundt <lethal@xxxxxxxxxxxx> Cc: Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxx> Cc: Hans Verkuil <hverkuil@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/media/video/videobuf-dma-contig.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff -puN drivers/media/video/videobuf-dma-contig.c~videobuf-dma-contig-zero-copy-userptr-support-v3-comments drivers/media/video/videobuf-dma-contig.c --- a/drivers/media/video/videobuf-dma-contig.c~videobuf-dma-contig-zero-copy-userptr-support-v3-comments +++ a/drivers/media/video/videobuf-dma-contig.c @@ -110,6 +110,12 @@ static struct vm_operations_struct video .close = videobuf_vm_close, }; +/** + * videobuf_dma_contig_user_put() - reset pointer to user space buffer + * @mem: per-buffer private videobuf-dma-contig data + * + * This function resets the user space pointer + */ static void videobuf_dma_contig_user_put(struct videobuf_dma_contig_memory *mem) { mem->is_userptr = 0; @@ -117,6 +123,16 @@ static void videobuf_dma_contig_user_put mem->size = 0; } +/** + * videobuf_dma_contig_user_get() - setup user space memory pointer + * @mem: per-buffer private videobuf-dma-contig data + * @vb: video buffer to map + * + * This function validates and sets up a pointer to user space memory. + * Only physically contiguous pfn-mapped memory is accepted. + * + * Returns 0 if successful. + */ static int videobuf_dma_contig_user_get(struct videobuf_dma_contig_memory *mem, struct videobuf_buffer *vb) { _ Patches currently in -mm which might be from damm@xxxxxxxxxx are origin.patch videobuf-dma-contig-zero-copy-userptr-support-v3.patch videobuf-dma-contig-zero-copy-userptr-support-v3-comments.patch videobuf-dma-contig-zero-copy-userptr-support-v3-comments-checkpatch-fixes.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html