diff options
Diffstat (limited to 'include/drm/drm_edid.h')
-rw-r--r-- | include/drm/drm_edid.h | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/include/drm/drm_edid.h b/include/drm/drm_edid.h index bcb9a66baa8c..0cac551c5347 100644 --- a/include/drm/drm_edid.h +++ b/include/drm/drm_edid.h | |||
@@ -90,12 +90,26 @@ struct detailed_data_monitor_range { | |||
90 | u8 min_hfreq_khz; | 90 | u8 min_hfreq_khz; |
91 | u8 max_hfreq_khz; | 91 | u8 max_hfreq_khz; |
92 | u8 pixel_clock_mhz; /* need to multiply by 10 */ | 92 | u8 pixel_clock_mhz; /* need to multiply by 10 */ |
93 | __le16 sec_gtf_toggle; /* A000=use above, 20=use below */ | 93 | u8 flags; |
94 | u8 hfreq_start_khz; /* need to multiply by 2 */ | 94 | union { |
95 | u8 c; /* need to divide by 2 */ | 95 | struct { |
96 | __le16 m; | 96 | u8 reserved; |
97 | u8 k; | 97 | u8 hfreq_start_khz; /* need to multiply by 2 */ |
98 | u8 j; /* need to divide by 2 */ | 98 | u8 c; /* need to divide by 2 */ |
99 | __le16 m; | ||
100 | u8 k; | ||
101 | u8 j; /* need to divide by 2 */ | ||
102 | } __attribute__((packed)) gtf2; | ||
103 | struct { | ||
104 | u8 version; | ||
105 | u8 data1; /* high 6 bits: extra clock resolution */ | ||
106 | u8 data2; /* plus low 2 of above: max hactive */ | ||
107 | u8 supported_aspects; | ||
108 | u8 flags; /* preferred aspect and blanking support */ | ||
109 | u8 supported_scalings; | ||
110 | u8 preferred_refresh; | ||
111 | } __attribute__((packed)) cvt; | ||
112 | } formula; | ||
99 | } __attribute__((packed)); | 113 | } __attribute__((packed)); |
100 | 114 | ||
101 | struct detailed_data_wpindex { | 115 | struct detailed_data_wpindex { |