diff options
Diffstat (limited to 'include/drm/drm_crtc.h')
-rw-r--r-- | include/drm/drm_crtc.h | 40 |
1 files changed, 3 insertions, 37 deletions
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index 93a1a31b9c2d..c9f3cc5949a8 100644 --- a/include/drm/drm_crtc.h +++ b/include/drm/drm_crtc.h | |||
@@ -31,7 +31,6 @@ | |||
31 | #include <linux/idr.h> | 31 | #include <linux/idr.h> |
32 | 32 | ||
33 | #include <linux/fb.h> | 33 | #include <linux/fb.h> |
34 | #include <linux/slow-work.h> | ||
35 | 34 | ||
36 | struct drm_device; | 35 | struct drm_device; |
37 | struct drm_mode_set; | 36 | struct drm_mode_set; |
@@ -190,49 +189,16 @@ enum subpixel_order { | |||
190 | */ | 189 | */ |
191 | struct drm_display_info { | 190 | struct drm_display_info { |
192 | char name[DRM_DISPLAY_INFO_LEN]; | 191 | char name[DRM_DISPLAY_INFO_LEN]; |
193 | /* Input info */ | 192 | |
194 | bool serration_vsync; | ||
195 | bool sync_on_green; | ||
196 | bool composite_sync; | ||
197 | bool separate_syncs; | ||
198 | bool blank_to_black; | ||
199 | unsigned char video_level; | ||
200 | bool digital; | ||
201 | /* Physical size */ | 193 | /* Physical size */ |
202 | unsigned int width_mm; | 194 | unsigned int width_mm; |
203 | unsigned int height_mm; | 195 | unsigned int height_mm; |
204 | 196 | ||
205 | /* Display parameters */ | ||
206 | unsigned char gamma; /* FIXME: storage format */ | ||
207 | bool gtf_supported; | ||
208 | bool standard_color; | ||
209 | enum { | ||
210 | monochrome = 0, | ||
211 | rgb, | ||
212 | other, | ||
213 | unknown, | ||
214 | } display_type; | ||
215 | bool active_off_supported; | ||
216 | bool suspend_supported; | ||
217 | bool standby_supported; | ||
218 | |||
219 | /* Color info FIXME: storage format */ | ||
220 | unsigned short redx, redy; | ||
221 | unsigned short greenx, greeny; | ||
222 | unsigned short bluex, bluey; | ||
223 | unsigned short whitex, whitey; | ||
224 | |||
225 | /* Clock limits FIXME: storage format */ | 197 | /* Clock limits FIXME: storage format */ |
226 | unsigned int min_vfreq, max_vfreq; | 198 | unsigned int min_vfreq, max_vfreq; |
227 | unsigned int min_hfreq, max_hfreq; | 199 | unsigned int min_hfreq, max_hfreq; |
228 | unsigned int pixel_clock; | 200 | unsigned int pixel_clock; |
229 | 201 | ||
230 | /* White point indices FIXME: storage format */ | ||
231 | unsigned int wpx1, wpy1; | ||
232 | unsigned int wpgamma1; | ||
233 | unsigned int wpx2, wpy2; | ||
234 | unsigned int wpgamma2; | ||
235 | |||
236 | enum subpixel_order subpixel_order; | 202 | enum subpixel_order subpixel_order; |
237 | 203 | ||
238 | char *raw_edid; /* if any */ | 204 | char *raw_edid; /* if any */ |
@@ -343,7 +309,7 @@ struct drm_crtc_funcs { | |||
343 | 309 | ||
344 | /* Set gamma on the CRTC */ | 310 | /* Set gamma on the CRTC */ |
345 | void (*gamma_set)(struct drm_crtc *crtc, u16 *r, u16 *g, u16 *b, | 311 | void (*gamma_set)(struct drm_crtc *crtc, u16 *r, u16 *g, u16 *b, |
346 | uint32_t size); | 312 | uint32_t start, uint32_t size); |
347 | /* Object destroy routine */ | 313 | /* Object destroy routine */ |
348 | void (*destroy)(struct drm_crtc *crtc); | 314 | void (*destroy)(struct drm_crtc *crtc); |
349 | 315 | ||
@@ -595,7 +561,7 @@ struct drm_mode_config { | |||
595 | 561 | ||
596 | /* output poll support */ | 562 | /* output poll support */ |
597 | bool poll_enabled; | 563 | bool poll_enabled; |
598 | struct delayed_slow_work output_poll_slow_work; | 564 | struct delayed_work output_poll_work; |
599 | 565 | ||
600 | /* pointers to standard properties */ | 566 | /* pointers to standard properties */ |
601 | struct list_head property_blob_list; | 567 | struct list_head property_blob_list; |