Commit eeefa4be authored by Adam Jackson's avatar Adam Jackson Committed by Dave Airlie

drm/edid: Update range descriptor struct for EDID 1.4

Signed-off-by: default avatarAdam Jackson <ajax@redhat.com>
Tested-by: default avatarTakashi Iwai <tiwai@suse.de>
Reviewed-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent cb21aafe
...@@ -90,12 +90,26 @@ struct detailed_data_monitor_range { ...@@ -90,12 +90,26 @@ struct detailed_data_monitor_range {
u8 min_hfreq_khz; u8 min_hfreq_khz;
u8 max_hfreq_khz; u8 max_hfreq_khz;
u8 pixel_clock_mhz; /* need to multiply by 10 */ u8 pixel_clock_mhz; /* need to multiply by 10 */
__le16 sec_gtf_toggle; /* A000=use above, 20=use below */ u8 flags;
u8 hfreq_start_khz; /* need to multiply by 2 */ union {
u8 c; /* need to divide by 2 */ struct {
__le16 m; u8 reserved;
u8 k; u8 hfreq_start_khz; /* need to multiply by 2 */
u8 j; /* need to divide by 2 */ u8 c; /* need to divide by 2 */
__le16 m;
u8 k;
u8 j; /* need to divide by 2 */
} gtf2;
struct {
u8 version;
u8 data1; /* high 6 bits: extra clock resolution */
u8 data2; /* plus low 2 of above: max hactive */
u8 supported_aspects;
u8 flags; /* preferred aspect and blanking support */
u8 supported_scalings;
u8 preferred_refresh;
} cvt;
} formula;
} __attribute__((packed)); } __attribute__((packed));
struct detailed_data_wpindex { struct detailed_data_wpindex {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment