]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00285283 PXP: make pxp driver compatible for G2D
authorFancy Fang <B47543@freescale.com>
Wed, 20 Nov 2013 02:25:45 +0000 (10:25 +0800)
committerFrank Li <Frank.Li@freescale.com>
Wed, 20 Nov 2013 15:55:45 +0000 (23:55 +0800)
commit559d74c6478818ce8913604f156d8dbdc30d032f
tree4ab31ac5f5003b95bebad173a9886c5456b86e8b
parent748ed59cc1c448ecea61173503b7f42c58166542
ENGR00285283 PXP: make pxp driver compatible for G2D

Use stride to set AS and PS pitch by default, if stride is 0, then use
width to set AS and PS pitch instead. This will make PXP driver both
work for PXP kernel users and G2D applications.

Signed-off-by: Fancy Fang <B47543@freescale.com>
drivers/dma/pxp/pxp_dma_v2.c