diff options
author | Mario Kleiner <mario.kleiner.de@gmail.com> | 2014-06-05 09:52:10 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2014-06-09 22:06:49 -0400 |
commit | 5d02626d3167cd4214bf611362e08dfd1e98c62e (patch) | |
tree | 4cd0e0c6178caed44b2dbf347a7c675b3275c924 /include/drm | |
parent | d71c48f69cc03912578472bced4cc43069fe07e1 (diff) | |
download | talos-op-linux-5d02626d3167cd4214bf611362e08dfd1e98c62e.tar.gz talos-op-linux-5d02626d3167cd4214bf611362e08dfd1e98c62e.zip |
drm/edid: Store all supported hdmi deep color modes in drm_display_info
HDMI deep color setup must know which modes are supported if
it needs to degrade gracefully, as only 12 bpc / dc_36 is
guaranteed, but 10 bpc / dc_30 is optional. The maximum bpc
is not sufficient for this.
Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drm_crtc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index a7fac5686915..251b75e6bf7a 100644 --- a/include/drm/drm_crtc.h +++ b/include/drm/drm_crtc.h @@ -121,6 +121,9 @@ struct drm_display_info { enum subpixel_order subpixel_order; u32 color_formats; + /* Mask of supported hdmi deep color modes */ + u8 edid_hdmi_dc_modes; + u8 cea_rev; }; |