Rev 6082 | Rev 6336 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6082 | Rev 6102 | ||
---|---|---|---|
Line 37... | Line 37... | ||
37 | 37 | ||
38 | #include |
38 | #include |
39 | #include |
39 | #include |
40 | #include |
40 | #include |
- | 41 | #include |
|
- | 42 | #include |
|
41 | #include |
43 | #include |
42 | #include |
44 | #include |
43 | #include |
45 | #include |
44 | #include |
46 | #include |
Line 831... | Line 833... | ||
831 | struct timeval *vblanktime); |
833 | struct timeval *vblanktime); |
832 | extern void drm_send_vblank_event(struct drm_device *dev, unsigned int pipe, |
834 | extern void drm_send_vblank_event(struct drm_device *dev, unsigned int pipe, |
833 | struct drm_pending_vblank_event *e); |
835 | struct drm_pending_vblank_event *e); |
834 | extern void drm_crtc_send_vblank_event(struct drm_crtc *crtc, |
836 | extern void drm_crtc_send_vblank_event(struct drm_crtc *crtc, |
835 | struct drm_pending_vblank_event *e); |
837 | struct drm_pending_vblank_event *e); |
- | 838 | extern void drm_arm_vblank_event(struct drm_device *dev, unsigned int pipe, |
|
- | 839 | struct drm_pending_vblank_event *e); |
|
- | 840 | extern void drm_crtc_arm_vblank_event(struct drm_crtc *crtc, |
|
- | 841 | struct drm_pending_vblank_event *e); |
|
836 | extern bool drm_handle_vblank(struct drm_device *dev, unsigned int pipe); |
842 | extern bool drm_handle_vblank(struct drm_device *dev, unsigned int pipe); |
837 | extern bool drm_crtc_handle_vblank(struct drm_crtc *crtc); |
843 | extern bool drm_crtc_handle_vblank(struct drm_crtc *crtc); |
838 | extern int drm_vblank_get(struct drm_device *dev, unsigned int pipe); |
844 | extern int drm_vblank_get(struct drm_device *dev, unsigned int pipe); |
839 | extern void drm_vblank_put(struct drm_device *dev, unsigned int pipe); |
845 | extern void drm_vblank_put(struct drm_device *dev, unsigned int pipe); |
840 | extern int drm_crtc_vblank_get(struct drm_crtc *crtc); |
846 | extern int drm_crtc_vblank_get(struct drm_crtc *crtc); |
Line 962... | Line 968... | ||
962 | #define DRM_PCIE_SPEED_50 2 |
968 | #define DRM_PCIE_SPEED_50 2 |
963 | #define DRM_PCIE_SPEED_80 4 |
969 | #define DRM_PCIE_SPEED_80 4 |
Line 964... | Line 970... | ||
964 | 970 | ||
Line -... | Line 971... | ||
- | 971 | extern int drm_pcie_get_speed_cap_mask(struct drm_device *dev, u32 *speed_mask); |
|
- | 972 | ||
- | 973 | /* returns true if currently okay to sleep */ |
|
- | 974 | static __inline__ bool drm_can_sleep(void) |
|
- | 975 | { |
|
Line 965... | Line 976... | ||
965 | extern int drm_pcie_get_speed_cap_mask(struct drm_device *dev, u32 *speed_mask); |
976 | return true; |
966 | 977 | } |
|
967 | 978 | ||
968 | static __inline__ int drm_device_is_pcie(struct drm_device *dev) |
979 | static __inline__ int drm_device_is_pcie(struct drm_device *dev) |