This function is the KMS native variant of drm_handle_vblank(). It takes a struct drm_crtc * instead of a struct drm_device * and an index of the CRTC. Eventually the goal is to access vblank data through the CRTC only so that the per-CRTC data can be moved to struct drm_crtc.
Showing the changes to include/drm (1 of 2 files). Show all
Unified · Split
| @@ -908,6 +908,7 @@ extern void drm_send_vblank_event(struct drm_device *dev, int crtc, · 907 unmodified lines | ||
| 908 | 908 | extern void drm_crtc_send_vblank_event(struct drm_crtc *crtc, |
| 909 | 909 | struct drm_pending_vblank_event *e); |
| 910 | 910 | extern bool drm_handle_vblank(struct drm_device *dev, int crtc); |
| 911 | +extern bool drm_crtc_handle_vblank(struct drm_crtc *crtc); | |
| 911 | 912 | extern int drm_vblank_get(struct drm_device *dev, int crtc); |
| 912 | 913 | extern void drm_vblank_put(struct drm_device *dev, int crtc); |
| 913 | 914 | extern int drm_crtc_vblank_get(struct drm_crtc *crtc); |