]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00161607 mxc v4l2 output: return real phys offset after mmap
authorJason Chen <b02280@freescale.com>
Tue, 8 Nov 2011 06:07:14 +0000 (14:07 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:09:58 +0000 (14:09 +0200)
commitaac610e340d5ae4a0b09ac23910ce61c895816ff
tree3a73e02ab329068d0577fbc201bb7175a3a34e86
parent05f4e55176f2ff0cce4d476c05feca2d2e5cf723
ENGR00161607 mxc v4l2 output: return real phys offset after mmap

vpu unit test failed because it need phys offset of each buffer allocated by
v4l2 output driver.
videobuf dma contig method only allocate real dma buffer when user call mmap.
Fix this issue by adding code to querybuf ioctl, return real phys after
buffer mmaped.

Signed-off-by: Jason Chen <b02280@freescale.com>
drivers/media/video/mxc/output/mxc_vout.c