]> 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)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:13:16 +0000 (14:13 +0200)
commit7cd09e48ba4f0bd66e5b56f01a7a09179ad1c88f
treea10ffb6665346c828408db4bd9de1cd5ab5692a9
parentf777a2b9c92b99d29f5dffa02d04d71cdb0e9e34
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