MLK-20788: drm/imx/dcss: fix issue with some HDMI sinks
authorLaurentiu Palcu <laurentiu.palcu@nxp.com>
Fri, 25 Jan 2019 12:43:13 +0000 (14:43 +0200)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit64f39fcebc04ad44b0964c753091ab26043fffd5
tree99de5e68b1325ac4c2295a57f754a620fd23e368
parent0cbb799b4c3410eaa090616f8205b40a2ee03e96
MLK-20788: drm/imx/dcss: fix issue with some HDMI sinks

Apparently, there are HDMI sinks out there that advertise Rec.2020
support in the Colorimetry Data Block but are not HDR capable devices.
In this case, there's no HDR Static metadata data block and EOTF is 0.

This patch will allow setting up the DCSS output pipe non-linearity to
Rec.2020, irrespective of sink's supported EOTF in HDR static metadata.

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