MLK-19158-2 drm/imx: lcdif: improve output bus format config
authorFancy Fang <chen.fang@nxp.com>
Sun, 12 Aug 2018 00:58:43 +0000 (08:58 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit02e399d3554c28beff9dbd9fc265f74a7b58a6bf
tree79f6a87ea09761e36161cef0fc8e6b0c7d10799c
parent2f8ccdcee772e8effddb4bdb3ffb5108122f8db9
MLK-19158-2 drm/imx: lcdif: improve output bus format config

According to LCDIF specification, the input pixel data
width and the output pixel data width can be different,
and this conversion is done by LCDIF automatically. So
config the output data width according to the requested
bus format from the encoder, instead to be same with the
input pixel data width.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
(cherry picked from commit bfd27f6d71d86a7f2fc8314f082565db3682b925)
(cherry picked from commit a5940ee5db21adc76721d33c2171aa593d9a8ea8)
drivers/gpu/drm/imx/lcdif/lcdif-crtc.c
drivers/gpu/imx/lcdif/lcdif-common.c
include/video/imx-lcdif.h