Subversion Repositories Kolibri OS

Rev

Rev 2967 | Rev 3391 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2967 Rev 3031
Line 88... Line 88...
88
	u8 min_vfreq;
88
	u8 min_vfreq;
89
	u8 max_vfreq;
89
	u8 max_vfreq;
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
	u8 flags;
-
 
94
	union {
-
 
95
		struct {
93
	__le16 sec_gtf_toggle; /* A000=use above, 20=use below */
96
			u8 reserved;
94
	u8 hfreq_start_khz; /* need to multiply by 2 */
97
	u8 hfreq_start_khz; /* need to multiply by 2 */
95
	u8 c; /* need to divide by 2 */
98
	u8 c; /* need to divide by 2 */
96
	__le16 m;
99
	__le16 m;
97
	u8 k;
100
	u8 k;
98
	u8 j; /* need to divide by 2 */
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));
Line 100... Line 114...
100
 
114
 
101
struct detailed_data_wpindex {
115
struct detailed_data_wpindex {
102
	u8 white_yx_lo; /* Lower 2 bits each */
116
	u8 white_yx_lo; /* Lower 2 bits each */
Line 236... Line 250...
236
void drm_edid_to_eld(struct drm_connector *connector, struct edid *edid);
250
void drm_edid_to_eld(struct drm_connector *connector, struct edid *edid);
237
int drm_av_sync_delay(struct drm_connector *connector,
251
int drm_av_sync_delay(struct drm_connector *connector,
238
		      struct drm_display_mode *mode);
252
		      struct drm_display_mode *mode);
239
struct drm_connector *drm_select_eld(struct drm_encoder *encoder,
253
struct drm_connector *drm_select_eld(struct drm_encoder *encoder,
240
				     struct drm_display_mode *mode);
254
				     struct drm_display_mode *mode);
-
 
255
int drm_load_edid_firmware(struct drm_connector *connector);
Line 241... Line 256...
241
 
256