MLK-19158-5 drm/imx: lcdif: add bus format check to CRTC's check
authorFancy Fang <chen.fang@nxp.com>
Sun, 12 Aug 2018 08:10:01 +0000 (16:10 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit86d41811ead0d7dbc4e994782175b01bb8c91e30
tree132d5cec39816fcfd88c30f43538a18a7c812c70
parent48a6cccd0d78702ec1c83f416e69612fde265a3f
MLK-19158-5 drm/imx: lcdif: add bus format check to CRTC's check

Add the check to LCDIF CRTC atomic check for the requested bus
format by encoder with the bus format which can be supported by
LCDIF CRTC to refuse unsupported case.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
(cherry picked from commit e98afe9b6b20c2494c8570427b7811ed9ce202e8)
(cherry picked from commit 9f1bb920916492fba4b6c82f4c25203ce8090298)
drivers/gpu/drm/imx/lcdif/lcdif-crtc.c