MLK-17703-2: drm: change HDR metadata infoframe structure
authorLaurentiu Palcu <laurentiu.palcu@nxp.com>
Thu, 22 Mar 2018 22:08:10 +0000 (17:08 -0500)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit891f6c20d8a78dd708bce7f817c99089bd58e474
tree25593be7b2f653a404a67629b3613c9dfb531c1c
parent6d226d19a735c38eb43e6fa141d8415efd090e57
MLK-17703-2: drm: change HDR metadata infoframe structure

According to ANSI-CTA-861-G specification:
 * EOTF is 8 bit, not 16;
 * metadata type is 8 bit, not 16;
 * There's no "Minimum Content Light Level"

This patch will change the HDR metadata structures to reflect that. Also, this
will fix problems seen on some TVs that were rejecting HDR metadata because
it's size was too big (more than 26 bytes).

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@nxp.com>
CC: Sandor Yu <sandor.yu@nxp.com>
drivers/gpu/drm/drm_edid.c
include/linux/hdmi.h
include/uapi/drm/drm_mode.h