]> 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)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:33:25 +0000 (08:33 +0200)
commitf470b1f34e80c4102d23c7973daa56870602ffb3
tree3a73e02ab329068d0577fbc201bb7175a3a34e86
parentf7da08ab5792ad5e2888095b4f1836909e04f1f8
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