MLK-18163-1: drm: edid: fix HDMI2.0 deep color depth parsing
The drm_parse_ycbcr420_deep_color_info() is called only for HDMI 2.0, however the DC masks were incorrectly set. These were set according to HDMI 1.4 specification. This patch will set the deep color depth masks to the HDMI 2.x specs (see Table 10-6 in HDMI 2.x specs for field descriptions). Signed-off-by: Laurentiu Palcu <laurentiu.palcu@nxp.com> (cherry picked from commit e3a1cac6fdd88f4391180d89d5881748214a1b4f)pull/10/head
parent
ecde7e1640
commit
75d6256ef9
|
@ -214,9 +214,9 @@ struct detailed_timing {
|
|||
#define DRM_EDID_HDMI_DC_Y444 (1 << 3)
|
||||
|
||||
/* YCBCR 420 deep color modes */
|
||||
#define DRM_EDID_YCBCR420_DC_48 (1 << 6)
|
||||
#define DRM_EDID_YCBCR420_DC_36 (1 << 5)
|
||||
#define DRM_EDID_YCBCR420_DC_30 (1 << 4)
|
||||
#define DRM_EDID_YCBCR420_DC_48 (1 << 2)
|
||||
#define DRM_EDID_YCBCR420_DC_36 (1 << 1)
|
||||
#define DRM_EDID_YCBCR420_DC_30 (1 << 0)
|
||||
#define DRM_EDID_YCBCR420_DC_MASK (DRM_EDID_YCBCR420_DC_48 | \
|
||||
DRM_EDID_YCBCR420_DC_36 | \
|
||||
DRM_EDID_YCBCR420_DC_30)
|
||||
|
|
Loading…
Reference in New Issue