Subversion Repositories Kolibri OS

Rev

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

Rev 5056 Rev 5270
Line 66... Line 66...
66
			   struct drm_display_mode *adjusted_mode);
66
			   struct drm_display_mode *adjusted_mode);
67
	/* Actually set the mode */
67
	/* Actually set the mode */
68
	int (*mode_set)(struct drm_crtc *crtc, struct drm_display_mode *mode,
68
	int (*mode_set)(struct drm_crtc *crtc, struct drm_display_mode *mode,
69
			struct drm_display_mode *adjusted_mode, int x, int y,
69
			struct drm_display_mode *adjusted_mode, int x, int y,
70
			struct drm_framebuffer *old_fb);
70
			struct drm_framebuffer *old_fb);
-
 
71
	void (*mode_set_nofb)(struct drm_crtc *crtc);
Line 71... Line 72...
71
 
72
 
72
	/* Move the crtc on the current fb to the given position *optional* */
73
	/* Move the crtc on the current fb to the given position *optional* */
73
	int (*mode_set_base)(struct drm_crtc *crtc, int x, int y,
74
	int (*mode_set_base)(struct drm_crtc *crtc, int x, int y,
74
			     struct drm_framebuffer *old_fb);
75
			     struct drm_framebuffer *old_fb);
Line 79... Line 80...
79
	/* reload the current crtc LUT */
80
	/* reload the current crtc LUT */
80
	void (*load_lut)(struct drm_crtc *crtc);
81
	void (*load_lut)(struct drm_crtc *crtc);
Line 81... Line 82...
81
 
82
 
82
	/* disable crtc when not in use - more explicit than dpms off */
83
	/* disable crtc when not in use - more explicit than dpms off */
-
 
84
	void (*disable)(struct drm_crtc *crtc);
-
 
85
 
-
 
86
	/* atomic helpers */
-
 
87
	int (*atomic_check)(struct drm_crtc *crtc,
-
 
88
			    struct drm_crtc_state *state);
-
 
89
	void (*atomic_begin)(struct drm_crtc *crtc);
83
	void (*disable)(struct drm_crtc *crtc);
90
	void (*atomic_flush)(struct drm_crtc *crtc);
Line 84... Line 91...
84
};
91
};
85
 
92
 
86
/**
93
/**
Line 159... Line 166...
159
	connector->helper_private = (void *)funcs;
166
	connector->helper_private = (void *)funcs;
160
}
167
}
Line 161... Line 168...
161
 
168
 
Line -... Line 169...
-
 
169
extern void drm_helper_resume_force_mode(struct drm_device *dev);
-
 
170
 
-
 
171
int drm_helper_crtc_mode_set(struct drm_crtc *crtc, struct drm_display_mode *mode,
-
 
172
			     struct drm_display_mode *adjusted_mode, int x, int y,
-
 
173
			     struct drm_framebuffer *old_fb);
-
 
174
int drm_helper_crtc_mode_set_base(struct drm_crtc *crtc, int x, int y,
162
extern void drm_helper_resume_force_mode(struct drm_device *dev);
175
				  struct drm_framebuffer *old_fb);
163
 
176
 
164
/* drm_probe_helper.c */
177
/* drm_probe_helper.c */
165
extern int drm_helper_probe_single_connector_modes(struct drm_connector
178
extern int drm_helper_probe_single_connector_modes(struct drm_connector
166
						   *connector, uint32_t maxX,
179
						   *connector, uint32_t maxX,