drm/imx: ipuv3-plane: do not advertise YUV formats on planes without CSC
authorPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 19 Jan 2021 13:51:08 +0000 (14:51 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 10 May 2021 08:06:08 +0000 (10:06 +0200)
commit06841148c570832d4d247b0f6befc1922a84120b
treeec59a51265f4405dae786f55314940829804313d
parent6efb943b8616ec53a5e444193dccf1af9ad627b5
drm/imx: ipuv3-plane: do not advertise YUV formats on planes without CSC

Only planes that are displayed via the Display Processor (DP) path
support color space conversion. Limit formats on planes that are
shown via the direct Display Controller (DC) path to RGB.

Reported-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/drm/imx/ipuv3-plane.c