Changeset View
Changeset View
Standalone View
Standalone View
stand/common/gfx_fb.h
Show First 20 Lines • Show All 103 Lines • ▼ Show 20 Lines | #define EDID_FEATURE_PREFERRED_TIMING_MODE (1 << 1) | ||||
uint8_t established_timings_2; | uint8_t established_timings_2; | ||||
uint8_t manufacturer_reserved_timings; | uint8_t manufacturer_reserved_timings; | ||||
uint16_t standard_timings[8]; | uint16_t standard_timings[8]; | ||||
struct edid_detailed_timings detailed_timings[4]; | struct edid_detailed_timings detailed_timings[4]; | ||||
uint8_t number_of_extensions; | uint8_t number_of_extensions; | ||||
uint8_t checksum; | uint8_t checksum; | ||||
} __packed; | } __packed; | ||||
extern struct vesa_edid_info *edid_info; | |||||
#define STD_TIMINGS 8 | #define STD_TIMINGS 8 | ||||
#define DET_TIMINGS 4 | #define DET_TIMINGS 4 | ||||
#define HSIZE(x) (((x & 0xff) + 31) * 8) | #define HSIZE(x) (((x & 0xff) + 31) * 8) | ||||
#define RATIO(x) ((x & 0xC000) >> 14) | #define RATIO(x) ((x & 0xC000) >> 14) | ||||
#define RATIO1_1 0 | #define RATIO1_1 0 | ||||
/* EDID Ver. 1.3 redefined this */ | /* EDID Ver. 1.3 redefined this */ | ||||
#define RATIO16_10 RATIO1_1 | #define RATIO16_10 RATIO1_1 | ||||
▲ Show 20 Lines • Show All 168 Lines • Show Last 20 Lines |