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)
committerHaibo Chen <haibo.chen@nxp.com>
Thu, 12 Apr 2018 10:45:58 +0000 (18:45 +0800)
commitcad6bfd7a1a885383e42ed42278e14064ce4e6b7
tree9aadeb8b0a749270d79f58dc0fbf8977923856bb
parent3c153f368625d83de6559f600c2224a549d2f7f9
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