]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00229665 pxp: correct crop setting
authorRobby Cai <R63905@freescale.com>
Mon, 15 Oct 2012 13:36:44 +0000 (21:36 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:36 +0000 (08:35 +0200)
commite477202387d6f444f3be3aa0f57ae9444dfbd598
treea10ffb6665346c828408db4bd9de1cd5ab5692a9
parent38f2d11b7ff4665eb7ee1a8e588d6ef2a553b790
ENGR00229665 pxp: correct crop setting

The settings in the PXP_PS_BUF, PXP_OUT_PS_ULC, and PXP_OUT_PS_LRC will
determine the subset of the PS buffer, or clipped PS source buffer, that
will be used in the output buffer.

HW_PXP_OUT_PS_LRC should set the scaled output size rather than the origin
size when scaling.

Please refer to the "Clipping source images" section in RM for how it works.

Signed-off-by: Robby Cai <R63905@freescale.com>
drivers/dma/pxp/pxp_dma_v2.c