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>

Signed-off-by: Haihua Hu <jared.hu@nxp.com>
diff --git a/include/drm/drm_mode.h b/include/drm/drm_mode.h
index 771bc38..b9c9c0b 100644
--- a/include/drm/drm_mode.h
+++ b/include/drm/drm_mode.h
@@ -591,8 +591,8 @@
 
 /* HDR Metadata */
 struct hdr_static_metadata {
-	__u16 eotf;
-	__u16 type;
+	__u8 eotf;
+	__u8 type;
 	__u16 display_primaries_x[3];
 	__u16 display_primaries_y[3];
 	__u16 white_point_x;
@@ -601,7 +601,6 @@
 	__u16 min_mastering_display_luminance;
 	__u16 max_fall;
 	__u16 max_cll;
-	__u16 min_cll;
 };
 
 #define DRM_MODE_PAGE_FLIP_EVENT 0x01