MLK-17802 drm/imx: dpu: plane: Remove pixel formats unsupported by DPR
authorLiu Ying <victor.liu@nxp.com>
Wed, 14 Mar 2018 03:07:42 +0000 (11:07 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:56:57 +0000 (14:56 -0500)
commit2b0b07de5ceef81e9100221c819b1d7e743da474
treebac671dafd8f9733cd6a66d48ee3cc7b7e8bfe70
parent6dc855ca11a5fb446296803c4bace64cce617307
MLK-17802 drm/imx: dpu: plane: Remove pixel formats unsupported by DPR

The RGB888/BGR888/NV16/NV61/NV24/NV42 pixel formats are not supported
by DPR.  They cannot get the benefits(i.e., tile resolving and
underrun-proof) from the prefetch engines.  Also, 16bit and 32bit
RGB pixel formats are widely used by GUI, while NV12 pixel format
is the only pixel format supported by VPU.  Thus, it makes little
sense to support the pixel formats which are not supported by DPR.
Another idea is that removing the pixel formats makes the driver
a bit simpler since we don't have to deal with the cases in which
prefetch engines are bypassed.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
drivers/gpu/drm/imx/dpu/dpu-plane.c