diff options
Diffstat (limited to 'include/drm/drm_crtc.h')
| -rw-r--r-- | include/drm/drm_crtc.h | 37 |
1 files changed, 2 insertions, 35 deletions
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index c707270bff5a..c9f3cc5949a8 100644 --- a/include/drm/drm_crtc.h +++ b/include/drm/drm_crtc.h | |||
| @@ -189,49 +189,16 @@ enum subpixel_order { | |||
| 189 | */ | 189 | */ |
| 190 | struct drm_display_info { | 190 | struct drm_display_info { |
| 191 | char name[DRM_DISPLAY_INFO_LEN]; | 191 | char name[DRM_DISPLAY_INFO_LEN]; |
| 192 | /* Input info */ | 192 | |
| 193 | bool serration_vsync; | ||
| 194 | bool sync_on_green; | ||
| 195 | bool composite_sync; | ||
| 196 | bool separate_syncs; | ||
| 197 | bool blank_to_black; | ||
| 198 | unsigned char video_level; | ||
| 199 | bool digital; | ||
| 200 | /* Physical size */ | 193 | /* Physical size */ |
| 201 | unsigned int width_mm; | 194 | unsigned int width_mm; |
| 202 | unsigned int height_mm; | 195 | unsigned int height_mm; |
| 203 | 196 | ||
| 204 | /* Display parameters */ | ||
| 205 | unsigned char gamma; /* FIXME: storage format */ | ||
| 206 | bool gtf_supported; | ||
| 207 | bool standard_color; | ||
| 208 | enum { | ||
| 209 | monochrome = 0, | ||
| 210 | rgb, | ||
| 211 | other, | ||
| 212 | unknown, | ||
| 213 | } display_type; | ||
| 214 | bool active_off_supported; | ||
| 215 | bool suspend_supported; | ||
| 216 | bool standby_supported; | ||
| 217 | |||
| 218 | /* Color info FIXME: storage format */ | ||
| 219 | unsigned short redx, redy; | ||
| 220 | unsigned short greenx, greeny; | ||
| 221 | unsigned short bluex, bluey; | ||
| 222 | unsigned short whitex, whitey; | ||
| 223 | |||
| 224 | /* Clock limits FIXME: storage format */ | 197 | /* Clock limits FIXME: storage format */ |
| 225 | unsigned int min_vfreq, max_vfreq; | 198 | unsigned int min_vfreq, max_vfreq; |
| 226 | unsigned int min_hfreq, max_hfreq; | 199 | unsigned int min_hfreq, max_hfreq; |
| 227 | unsigned int pixel_clock; | 200 | unsigned int pixel_clock; |
| 228 | 201 | ||
| 229 | /* White point indices FIXME: storage format */ | ||
| 230 | unsigned int wpx1, wpy1; | ||
| 231 | unsigned int wpgamma1; | ||
| 232 | unsigned int wpx2, wpy2; | ||
| 233 | unsigned int wpgamma2; | ||
| 234 | |||
| 235 | enum subpixel_order subpixel_order; | 202 | enum subpixel_order subpixel_order; |
| 236 | 203 | ||
| 237 | char *raw_edid; /* if any */ | 204 | char *raw_edid; /* if any */ |
| @@ -342,7 +309,7 @@ struct drm_crtc_funcs { | |||
| 342 | 309 | ||
| 343 | /* Set gamma on the CRTC */ | 310 | /* Set gamma on the CRTC */ |
| 344 | 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, |
| 345 | uint32_t size); | 312 | uint32_t start, uint32_t size); |
| 346 | /* Object destroy routine */ | 313 | /* Object destroy routine */ |
| 347 | void (*destroy)(struct drm_crtc *crtc); | 314 | void (*destroy)(struct drm_crtc *crtc); |
| 348 | 315 | ||
