aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm/drmP.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/drm/drmP.h')
-rw-r--r--include/drm/drmP.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h
index 62c40777c009..4c31a2cc5a33 100644
--- a/include/drm/drmP.h
+++ b/include/drm/drmP.h
@@ -686,9 +686,13 @@ struct drm_pending_vblank_event {
686struct drm_vblank_crtc { 686struct drm_vblank_crtc {
687 struct drm_device *dev; /* pointer to the drm_device */ 687 struct drm_device *dev; /* pointer to the drm_device */
688 wait_queue_head_t queue; /**< VBLANK wait queue */ 688 wait_queue_head_t queue; /**< VBLANK wait queue */
689 struct timeval time[DRM_VBLANKTIME_RBSIZE]; /**< timestamp of current count */
690 struct timer_list disable_timer; /* delayed disable timer */ 689 struct timer_list disable_timer; /* delayed disable timer */
691 atomic_t count; /**< number of VBLANK interrupts */ 690
691 /* vblank counter, protected by dev->vblank_time_lock for writes */
692 unsigned long count;
693 /* vblank timestamps, protected by dev->vblank_time_lock for writes */
694 struct timeval time[DRM_VBLANKTIME_RBSIZE];
695
692 atomic_t refcount; /* number of users of vblank interruptsper crtc */ 696 atomic_t refcount; /* number of users of vblank interruptsper crtc */
693 u32 last; /* protected by dev->vbl_lock, used */ 697 u32 last; /* protected by dev->vbl_lock, used */
694 /* for wraparound handling */ 698 /* for wraparound handling */