Rev 5056 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5056 | Rev 6082 | ||
---|---|---|---|
Line 88... | Line 88... | ||
88 | .vscan = (vs), .flags = (f), \ |
88 | .vscan = (vs), .flags = (f), \ |
89 | .base.type = DRM_MODE_OBJECT_MODE |
89 | .base.type = DRM_MODE_OBJECT_MODE |
Line 90... | Line 90... | ||
90 | 90 | ||
91 | #define CRTC_INTERLACE_HALVE_V (1 << 0) /* halve V values for interlacing */ |
91 | #define CRTC_INTERLACE_HALVE_V (1 << 0) /* halve V values for interlacing */ |
- | 92 | #define CRTC_STEREO_DOUBLE (1 << 1) /* adjust timings for stereo modes */ |
|
- | 93 | #define CRTC_NO_DBLSCAN (1 << 2) /* don't adjust doublescan */ |
|
- | 94 | #define CRTC_NO_VSCAN (1 << 3) /* don't adjust doublescan */ |
|
Line 92... | Line 95... | ||
92 | #define CRTC_STEREO_DOUBLE (1 << 1) /* adjust timings for stereo modes */ |
95 | #define CRTC_STEREO_DOUBLE_ONLY (CRTC_STEREO_DOUBLE | CRTC_NO_DBLSCAN | CRTC_NO_VSCAN) |
Line 93... | Line 96... | ||
93 | 96 | ||
94 | #define DRM_MODE_FLAG_3D_MAX DRM_MODE_FLAG_3D_SIDE_BY_SIDE_HALF |
97 | #define DRM_MODE_FLAG_3D_MAX DRM_MODE_FLAG_3D_SIDE_BY_SIDE_HALF |
Line 177... | Line 180... | ||
177 | struct drm_connector; |
180 | struct drm_connector; |
178 | struct drm_cmdline_mode; |
181 | struct drm_cmdline_mode; |
Line 179... | Line 182... | ||
179 | 182 | ||
180 | struct drm_display_mode *drm_mode_create(struct drm_device *dev); |
183 | struct drm_display_mode *drm_mode_create(struct drm_device *dev); |
- | 184 | void drm_mode_destroy(struct drm_device *dev, struct drm_display_mode *mode); |
|
- | 185 | void drm_mode_convert_to_umode(struct drm_mode_modeinfo *out, |
|
- | 186 | const struct drm_display_mode *in); |
|
- | 187 | int drm_mode_convert_umode(struct drm_display_mode *out, |
|
181 | void drm_mode_destroy(struct drm_device *dev, struct drm_display_mode *mode); |
188 | const struct drm_mode_modeinfo *in); |
182 | void drm_mode_probed_add(struct drm_connector *connector, struct drm_display_mode *mode); |
189 | void drm_mode_probed_add(struct drm_connector *connector, struct drm_display_mode *mode); |
Line 183... | Line 190... | ||
183 | void drm_mode_debug_printmodeline(const struct drm_display_mode *mode); |
190 | void drm_mode_debug_printmodeline(const struct drm_display_mode *mode); |
184 | 191 | ||
Line 195... | Line 202... | ||
195 | int margins, |
202 | int margins, |
196 | int GTF_M, int GTF_2C, |
203 | int GTF_M, int GTF_2C, |
197 | int GTF_K, int GTF_2J); |
204 | int GTF_K, int GTF_2J); |
198 | void drm_display_mode_from_videomode(const struct videomode *vm, |
205 | void drm_display_mode_from_videomode(const struct videomode *vm, |
199 | struct drm_display_mode *dmode); |
206 | struct drm_display_mode *dmode); |
- | 207 | void drm_display_mode_to_videomode(const struct drm_display_mode *dmode, |
|
- | 208 | struct videomode *vm); |
|
200 | int of_get_drm_display_mode(struct device_node *np, |
209 | int of_get_drm_display_mode(struct device_node *np, |
201 | struct drm_display_mode *dmode, |
210 | struct drm_display_mode *dmode, |
202 | int index); |
211 | int index); |
Line 203... | Line 212... | ||
203 | 212 | ||
Line 215... | Line 224... | ||
215 | const struct drm_display_mode *mode2); |
224 | const struct drm_display_mode *mode2); |
216 | bool drm_mode_equal_no_clocks_no_stereo(const struct drm_display_mode *mode1, |
225 | bool drm_mode_equal_no_clocks_no_stereo(const struct drm_display_mode *mode1, |
217 | const struct drm_display_mode *mode2); |
226 | const struct drm_display_mode *mode2); |
Line 218... | Line 227... | ||
218 | 227 | ||
219 | /* for use by the crtc helper probe functions */ |
228 | /* for use by the crtc helper probe functions */ |
220 | void drm_mode_validate_size(struct drm_device *dev, |
229 | enum drm_mode_status drm_mode_validate_basic(const struct drm_display_mode *mode); |
221 | struct list_head *mode_list, |
230 | enum drm_mode_status drm_mode_validate_size(const struct drm_display_mode *mode, |
222 | int maxX, int maxY); |
231 | int maxX, int maxY); |
223 | void drm_mode_prune_invalid(struct drm_device *dev, |
232 | void drm_mode_prune_invalid(struct drm_device *dev, |
224 | struct list_head *mode_list, bool verbose); |
233 | struct list_head *mode_list, bool verbose); |
225 | void drm_mode_sort(struct list_head *mode_list); |
234 | void drm_mode_sort(struct list_head *mode_list); |