MLK-16370-3 video: fbdev: dcss: align dpr 'pitch' config to 16 bytes for NV12
authorFancy Fang <chen.fang@nxp.com>
Tue, 5 Sep 2017 05:03:48 +0000 (13:03 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:38:29 +0000 (15:38 -0500)
commit18d46b54a90104104aebfe7e810e197c7675fd57
treec416b6b0926711a28477cee7ebe499a628983e24
parentcb02ade3f87861d70919b0702d6c7e40a64ec753
MLK-16370-3 video: fbdev: dcss: align dpr 'pitch' config to 16 bytes for NV12

The Hantro VPU always has a 16 bytes alignment on width.
So the pitch configured in DPR should be also aligned
to 16 bytes to be compatible with VPU buffer. For now,
only NV12 is supported.

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