Rev 3297 | Rev 3482 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3297 | Rev 3391 | ||
---|---|---|---|
Line 50... | Line 50... | ||
50 | #include |
50 | #include |
51 | #include |
51 | #include |
52 | #include |
52 | #include |
53 | #include |
53 | #include |
54 | #include |
54 | #include |
- | 55 | #include |
|
Line 55... | Line 56... | ||
55 | 56 | ||
56 | //#include |
57 | //#include |
57 | //#include |
58 | //#include |
58 | //#include |
59 | //#include |
Line 83... | Line 84... | ||
83 | struct module; |
84 | struct module; |
Line 84... | Line 85... | ||
84 | 85 | ||
85 | struct drm_file; |
86 | struct drm_file; |
Line -... | Line 87... | ||
- | 87 | struct drm_device; |
|
- | 88 | ||
86 | struct drm_device; |
89 | struct device_node; |
87 | 90 | struct videomode; |
|
88 | //#include |
91 | //#include |
Line 89... | Line 92... | ||
89 | #include |
92 | #include |
Line 169... | Line 172... | ||
169 | 172 | ||
170 | /***********************************************************************/ |
173 | /***********************************************************************/ |
171 | /** \name Begin the DRM... */ |
174 | /** \name Begin the DRM... */ |
Line 172... | Line 175... | ||
172 | /*@{*/ |
175 | /*@{*/ |
173 | 176 | ||
Line 174... | Line 177... | ||
174 | #define DRM_DEBUG_CODE 0 /**< Include debugging code if > 1, then |
177 | #define DRM_DEBUG_CODE 2 /**< Include debugging code if > 1, then |
175 | also include looping detection. */ |
178 | also include looping detection. */ |
176 | 179 | ||
Line 1415... | Line 1418... | ||
1415 | struct drm_file *filp); |
1418 | struct drm_file *filp); |
1416 | extern int drm_vblank_wait(struct drm_device *dev, unsigned int *vbl_seq); |
1419 | extern int drm_vblank_wait(struct drm_device *dev, unsigned int *vbl_seq); |
1417 | extern u32 drm_vblank_count(struct drm_device *dev, int crtc); |
1420 | extern u32 drm_vblank_count(struct drm_device *dev, int crtc); |
1418 | extern u32 drm_vblank_count_and_time(struct drm_device *dev, int crtc, |
1421 | extern u32 drm_vblank_count_and_time(struct drm_device *dev, int crtc, |
1419 | struct timeval *vblanktime); |
1422 | struct timeval *vblanktime); |
- | 1423 | extern void drm_send_vblank_event(struct drm_device *dev, int crtc, |
|
- | 1424 | struct drm_pending_vblank_event *e); |
|
1420 | extern bool drm_handle_vblank(struct drm_device *dev, int crtc); |
1425 | extern bool drm_handle_vblank(struct drm_device *dev, int crtc); |
1421 | extern int drm_vblank_get(struct drm_device *dev, int crtc); |
1426 | extern int drm_vblank_get(struct drm_device *dev, int crtc); |
1422 | extern void drm_vblank_put(struct drm_device *dev, int crtc); |
1427 | extern void drm_vblank_put(struct drm_device *dev, int crtc); |
1423 | extern void drm_vblank_off(struct drm_device *dev, int crtc); |
1428 | extern void drm_vblank_off(struct drm_device *dev, int crtc); |
1424 | extern void drm_vblank_cleanup(struct drm_device *dev); |
1429 | extern void drm_vblank_cleanup(struct drm_device *dev); |
Line 1438... | Line 1443... | ||
1438 | 1443 | ||
1439 | extern struct drm_display_mode * |
1444 | extern struct drm_display_mode * |
1440 | drm_mode_create_from_cmdline_mode(struct drm_device *dev, |
1445 | drm_mode_create_from_cmdline_mode(struct drm_device *dev, |
Line -... | Line 1446... | ||
- | 1446 | struct drm_cmdline_mode *cmd); |
|
- | 1447 | ||
- | 1448 | extern int drm_display_mode_from_videomode(const struct videomode *vm, |
|
- | 1449 | struct drm_display_mode *dmode); |
|
- | 1450 | extern int of_get_drm_display_mode(struct device_node *np, |
|
- | 1451 | struct drm_display_mode *dmode, |
|
1441 | struct drm_cmdline_mode *cmd); |
1452 | int index); |
1442 | 1453 | ||
1443 | /* Modesetting support */ |
1454 | /* Modesetting support */ |
1444 | extern void drm_vblank_pre_modeset(struct drm_device *dev, int crtc); |
1455 | extern void drm_vblank_pre_modeset(struct drm_device *dev, int crtc); |
1445 | extern void drm_vblank_post_modeset(struct drm_device *dev, int crtc); |
1456 | extern void drm_vblank_post_modeset(struct drm_device *dev, int crtc); |
Line 1736... | Line 1747... | ||
1736 | #endif /* __KERNEL__ */ |
1747 | #endif /* __KERNEL__ */ |
Line 1737... | Line 1748... | ||
1737 | 1748 | ||
1738 | #define drm_sysfs_connector_add(connector) |
1749 | #define drm_sysfs_connector_add(connector) |
Line -... | Line 1750... | ||
- | 1750 | #define drm_sysfs_connector_remove(connector) |
|
- | 1751 | ||
1739 | #define drm_sysfs_connector_remove(connector) |
1752 | #define LFB_SIZE 0xC00000 |