Skip to content

Commit

Permalink
drm/edid: Update range descriptor struct for EDID 1.4
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Jackson <[email protected]>
Tested-by: Takashi Iwai <[email protected]>
Reviewed-by: Rodrigo Vivi <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
  • Loading branch information
nwnk authored and airlied committed Apr 20, 2012
1 parent cb21aaf commit eeefa4b
Showing 1 changed file with 20 additions and 6 deletions.
26 changes: 20 additions & 6 deletions include/drm/drm_edid.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,26 @@ struct detailed_data_monitor_range {
u8 min_hfreq_khz;
u8 max_hfreq_khz;
u8 pixel_clock_mhz; /* need to multiply by 10 */
__le16 sec_gtf_toggle; /* A000=use above, 20=use below */
u8 hfreq_start_khz; /* need to multiply by 2 */
u8 c; /* need to divide by 2 */
__le16 m;
u8 k;
u8 j; /* need to divide by 2 */
u8 flags;
union {
struct {
u8 reserved;
u8 hfreq_start_khz; /* need to multiply 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));

struct detailed_data_wpindex {
Expand Down

0 comments on commit eeefa4b

Please sign in to comment.