MLK-21249: drm/imx/hdp: do not set BT2020 colorimetry for 8bit color depth
authorLaurentiu Palcu <laurentiu.palcu@nxp.com>
Thu, 21 Mar 2019 07:02:53 +0000 (09:02 +0200)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit9187db8a83971c9932793e539b18baa96a0424ac
tree208e1594dcec584642c609ba38500fe655e787b2
parent2773009abbb41c65970b9b941b0449bfd259f906
MLK-21249: drm/imx/hdp: do not set BT2020 colorimetry for 8bit color depth

Currently, we set the colorimetry to BT.2020 even if the color-depth is
8 bit. This is not according to HDMI specification.

This patch makes sure we follow the specs.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@nxp.com>
CC: Sandor Yu <sandor.yu@nxp.com>
Reviewed-by: Sandor Yu <sandor.yu@nxp.com>
Reviewed-by: Robert Chiras <robert.chiras@nxp.com>
drivers/gpu/drm/imx/hdp/imx-hdmi.c