MLK-16252: PxP: fix video shift issue
authorGuoniu.Zhou <guoniu.zhou@nxp.com>
Fri, 25 Aug 2017 10:48:32 +0000 (18:48 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:38:21 +0000 (15:38 -0500)
commit9a2feb4d76a0b727a47d771c3b1d1e10292f862c
tree8b9a8bed029feaf6ebf10785bb4c06e0f2610e52
parentc5d6477dcd0174247f5c6d3accfa39a7b3deae4b
MLK-16252: PxP: fix video shift issue

If pxp use crop x/y valuse as the upper left coordinate in
out buffer, pxp driver only need to write out buffer base
address to pxp out_buf register. If pxp driver use zero as
ps_ulc register value, pxp out_buf register need an offset
added with out buffer base address.

Signed-off-by: Guoniu.Zhou <guoniu.zhou@nxp.com>
Reviewed-by: Robby Cai <robby.cai@nxp.com>
Reviewed-by: Fancy Fang <chen.fang@nxp.com>
(cherry picked from commit 14c988f1eb7e9471b0875016df29708865727fbb)
drivers/dma/pxp/pxp_dma_v3.c