summaryrefslogtreecommitdiff
path: root/linux-core/drmP.h
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2008-06-03 11:28:10 +0200
committerMichel Dänzer <michel@tungstengraphics.com>2008-06-03 11:28:10 +0200
commitba7263b8c2f8c14c647da725ecbc73fcd456d63c (patch)
tree463cfb187e6437f4b673047d09ce22abad6278e1 /linux-core/drmP.h
parent237172b7670611b36d92be3b92983674846f6564 (diff)
vblank: Don't wait or update the counter while the CRTC is supposedly disabled.
Without kernel modesetting, this requires cooperation of the userspace modesetting driver. We may have to leave the vblank interrupt enabled otherwise to avoid problems.
Diffstat (limited to 'linux-core/drmP.h')
-rw-r--r--linux-core/drmP.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-core/drmP.h b/linux-core/drmP.h
index d7b1960c..00db3000 100644
--- a/linux-core/drmP.h
+++ b/linux-core/drmP.h
@@ -843,6 +843,7 @@ struct drm_device {
int *vblank_enabled; /* so we don't call enable more than
once per disable */
u32 *vblank_premodeset; /* for compensation of spurious wraparounds */
+ int *vblank_suspend; /* Don't wait while crtc is likely disabled */
struct timer_list vblank_disable_timer;
u32 max_vblank_count; /**< size of vblank counter register */