drm/imx: ipuv3-plane: fix YUV framebuffer scanout on the base plane
authorPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 5 Aug 2016 09:55:18 +0000 (11:55 +0200)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 11 Aug 2017 08:31:13 +0000 (10:31 +0200)
commit5be5dd38d4628fdbff7359f235f7cdf0cf9655f1
tree884f0bd5dd1829c07d80a6dd9f1715a8b6a60984
parent2406b296a3a80ba1c78707f205556f2388d474ff
drm/imx: ipuv3-plane: fix YUV framebuffer scanout on the base plane

Historically, only RGB framebuffers could be assigned to the primary
plane. This changed with universal plane support. Since no colorspace
conversion was set up for the IPUv3 full plane, assigning YUV frame
buffers to the primary plane caused incorrect output.
Fix this by enabling color space conversion also for the primary plane.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/drm/imx/ipuv3-plane.c