diff options
author | Mario Kleiner <mario.kleiner.de@gmail.com> | 2014-03-27 14:59:39 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2014-06-02 18:37:34 -0400 |
commit | d0c94692e0a360828745a469bcf90b5c4f9273d0 (patch) | |
tree | 80cf5a1317b3318b1dfdac117fca60ee28245947 /include/drm/drm_edid.h | |
parent | 89b92339c1362ee910b0c73c2db32af11246c250 (diff) |
drm/edid: Parse and handle HDMI deep color modes.
Check the HDMI cea block for deep color mode bits. If available,
assign the highest supported bpc for a hdmi display, corresponding
to the given deep color modes.
Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/drm/drm_edid.h')
-rw-r--r-- | include/drm/drm_edid.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/drm/drm_edid.h b/include/drm/drm_edid.h index a1441c5ac63d..b96031d947a0 100644 --- a/include/drm/drm_edid.h +++ b/include/drm/drm_edid.h | |||
@@ -202,6 +202,11 @@ struct detailed_timing { | |||
202 | #define DRM_EDID_FEATURE_PM_SUSPEND (1 << 6) | 202 | #define DRM_EDID_FEATURE_PM_SUSPEND (1 << 6) |
203 | #define DRM_EDID_FEATURE_PM_STANDBY (1 << 7) | 203 | #define DRM_EDID_FEATURE_PM_STANDBY (1 << 7) |
204 | 204 | ||
205 | #define DRM_EDID_HDMI_DC_48 (1 << 6) | ||
206 | #define DRM_EDID_HDMI_DC_36 (1 << 5) | ||
207 | #define DRM_EDID_HDMI_DC_30 (1 << 4) | ||
208 | #define DRM_EDID_HDMI_DC_Y444 (1 << 3) | ||
209 | |||
205 | struct edid { | 210 | struct edid { |
206 | u8 header[8]; | 211 | u8 header[8]; |
207 | /* Vendor & product info */ | 212 | /* Vendor & product info */ |