MLK-16255-3 video: fbdev: dcss: add alignment handling for DPR
authorFancy Fang <chen.fang@nxp.com>
Thu, 24 Aug 2017 09:49:18 +0000 (17:49 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:36:46 +0000 (15:36 -0500)
commit6a4433b5a0e59cb7db53467788e19b68137ee3b8
treef1d503d0093142b8b5c2c5c311dbfecd414ab572
parentbd1f0385d1a408a5413d47db07ad78681f1caee0
MLK-16255-3 video: fbdev: dcss: add alignment handling for DPR

According to the DCSS spec, the DPR has alignment
limitations for the input source image on both 'x'
and 'y' directions of Luma and Chroma planes. The
DPR has different alignment requirements for
different bpp, tile type, rtram buffer lines and
etc.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
drivers/video/fbdev/mxc/imx_dcss.c