]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
MLK-10137:csi: Return physical address in querybuffer call
authorSandor Yu <R01008@freescale.com>
Fri, 23 Jan 2015 06:18:01 +0000 (14:18 +0800)
committerSandor Yu <R01008@freescale.com>
Fri, 30 Jan 2015 03:04:13 +0000 (11:04 +0800)
commit293cb8fac7d79f7f075396a56a6b2edc52a9b76a
treeffead5c4ffbf6952d08c5765a2a3f1ab57c9458d
parentd13600a32614ce3008c75aebceb3d0253b461e31
MLK-10137:csi: Return physical address in querybuffer call

GST application want to use physical address even video buffer
allocated with type of V4L2_MEMORY_MMAP.
So add a trick in querybuffer function, if video buffer flags
is setting to V4L2_BUF_FLAG_MAPPED, overwirte m.offset with
physical address.

Signed-off-by: Sandor Yu <R01008@freescale.com>
drivers/media/platform/mxc/subdev/mx6s_capture.c