summaryrefslogtreecommitdiff
path: root/linux-core/drmP.h
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2008-07-21 11:48:04 +0200
committerMichel Dänzer <michel@tungstengraphics.com>2008-07-21 11:48:04 +0200
commit4be367b84b5a6691c28d9419039ea8113ebabc92 (patch)
tree7bf24ac0c08c30bc2c80339eb491aed5fbc71dbe /linux-core/drmP.h
parentf529a510d200c87919084fda1e053545c25ebeab (diff)
Reinstate dev->vblank_enabled[].
I incorrectly thought it was obsolete.
Diffstat (limited to 'linux-core/drmP.h')
-rw-r--r--linux-core/drmP.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-core/drmP.h b/linux-core/drmP.h
index 6e4d6dda..19168cd7 100644
--- a/linux-core/drmP.h
+++ b/linux-core/drmP.h
@@ -848,6 +848,8 @@ struct drm_device {
atomic_t *vblank_refcount; /* number of users of vblank interrupts per crtc */
u32 *last_vblank; /* protected by dev->vbl_lock, used */
/* for wraparound handling */
+ int *vblank_enabled; /* so we don't call enable more than
+ once per disable */
int *vblank_inmodeset; /* Display driver is setting mode */
struct timer_list vblank_disable_timer;