MLK-20117 drm/imx/dcss: fix color issue when Adobe_ARGB gamut is used
authorLaurentiu Palcu <laurentiu.palcu@nxp.com>
Tue, 13 Nov 2018 09:01:36 +0000 (11:01 +0200)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit4c3d8c989e94d4ae426e74b8a53886f0a6d529b5
tree83c56afe7ad3d4cbf7ed095580d8cb759f2c02fa
parent78fac04af1a778d1c25e50be97e8f1f5d68304a9
MLK-20117 drm/imx/dcss: fix color issue when Adobe_ARGB gamut is used

Adobe ARGB gamut was selected even if the output pipe pixel encoding was
YUV. That produced a pink tint on the screen.

This patch will make sure the Adobe ARGB gamut is selected only when the
output pipe pixel encoding is RGB.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@nxp.com>
drivers/gpu/drm/imx/dcss/dcss-crtc.c