2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 15:13:55 +08:00
linux-next/drivers/media/v4l2-core
Marek Szyprowski d81e870d5a [media] v4l: vb2-dma-contig: fail if user ptr buffer is not correctly aligned
The DMA transfer must be aligned to a specific value. If userptr is not aligned
to DMA requirements then unexpected corruptions of the memory may occur before
or after a buffer.  To prevent such situations, all unligned userptr buffers
are rejected at VIDIOC_QBUF.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-11-25 17:21:32 -02:00
..
Kconfig [media] v4l: vb2-vmalloc: add support for dmabuf importing 2012-11-25 17:18:58 -02:00
Makefile [media] Cleanup media Kconfig files 2012-08-21 07:55:47 -03:00
tuner-core.c [media] v4l: move v4l2 core into a separate directory 2012-08-13 23:02:38 -03:00
v4l2-common.c [media] v4l2-common: h_bp var is unused at v4l2_detect_gtf() 2012-10-28 07:38:53 -02:00
v4l2-compat-ioctl32.c [media] v4l: add buffer exporting via dmabuf 2012-11-25 17:20:47 -02:00
v4l2-ctrls.c [media] v4l: Add control definitions for new H264 encoder features 2012-10-05 22:42:17 -03:00
v4l2-dev.c [media] v4l: add buffer exporting via dmabuf 2012-11-25 17:20:47 -02:00
v4l2-device.c [media] v4l2-ctrls: add a filter function to v4l2_ctrl_add_handler 2012-10-01 17:07:07 -03:00
v4l2-event.c [media] v4l, smiapp, smiapp-pll, adp1653: Update contact information 2012-11-21 13:34:50 -02:00
v4l2-fh.c [media] v4l, smiapp, smiapp-pll, adp1653: Update contact information 2012-11-21 13:34:50 -02:00
v4l2-int-device.c [media] v4l: move v4l2 core into a separate directory 2012-08-13 23:02:38 -03:00
v4l2-ioctl.c [media] v4l: add buffer exporting via dmabuf 2012-11-25 17:20:47 -02:00
v4l2-mem2mem.c [media] v4l: vb2: add buffer exporting via dmabuf 2012-11-25 17:21:00 -02:00
v4l2-subdev.c [media] v4l: Don't warn during link validation when encountering a V4L2 devnode 2012-11-22 12:09:49 -02:00
videobuf2-core.c [media] v4l: vb2: add buffer exporting via dmabuf 2012-11-25 17:21:00 -02:00
videobuf2-dma-contig.c [media] v4l: vb2-dma-contig: fail if user ptr buffer is not correctly aligned 2012-11-25 17:21:32 -02:00
videobuf2-dma-sg.c [media] v4l: move v4l2 core into a separate directory 2012-08-13 23:02:38 -03:00
videobuf2-memops.c [media] v4l: vb2-dma-contig: let mmap method to use dma_mmap_coherent call 2012-11-25 17:20:25 -02:00
videobuf2-vmalloc.c [media] v4l: vb2-vmalloc: add support for dmabuf importing 2012-11-25 17:18:58 -02:00
videobuf-core.c [media] v4l: vb: remove warnings about MEMORY_DMABUF 2012-11-25 17:11:24 -02:00
videobuf-dma-contig.c [media] v4l: move v4l2 core into a separate directory 2012-08-13 23:02:38 -03:00
videobuf-dma-sg.c mm: kill vma flag VM_RESERVED and mm->reserved_vm counter 2012-10-09 16:22:19 +09:00
videobuf-dvb.c [media] v4l: move v4l2 core into a separate directory 2012-08-13 23:02:38 -03:00
videobuf-vmalloc.c mm: kill vma flag VM_RESERVED and mm->reserved_vm counter 2012-10-09 16:22:19 +09:00