[media] V4L2: OMAP: VOUT: dma map and unmap v4l2 buffers in qbuf and dqbuf
authorAmber Jain <amber@ti.com>
Thu, 7 Jul 2011 09:03:25 +0000 (06:03 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 27 Jul 2011 20:56:06 +0000 (17:56 -0300)
commit72915e851da9aeea2bf619f8f52ab0ee4bc241ca
tree0e62a4cf88c4868bf69d736b5dd0b9cca5f1beba
parent5251dd6c07ad4a921c1cf40d9bf41f842364f936
[media] V4L2: OMAP: VOUT: dma map and unmap v4l2 buffers in qbuf and dqbuf

Add support to map the buffer using dma_map_single during qbuf which inturn
calls cache flush and unmap the same during dqbuf. This is done to prevent
the artifacts seen because of cache-coherency issues on OMAP4

Signed-off-by: Amber Jain <amber@ti.com>
Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/omap/omap_vout.c