summaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-12-19 17:23:38 -0800
committerDave Airlie <airlied@linux.ie>2008-12-29 17:47:27 +1000
commitfede5c91c4a8a7701d205b2b84b9835ddc7d6f02 (patch)
treea80b546790a405b5a0b60e843c06b5697c0b2226 /include/drm
parentf51c5b6e623cc737d47f513cbb893cec914f0bd2 (diff)
downloadop-kernel-dev-fede5c91c4a8a7701d205b2b84b9835ddc7d6f02.zip
op-kernel-dev-fede5c91c4a8a7701d205b2b84b9835ddc7d6f02.tar.gz
drm: Add a debug node for vblank state.
Signed-off-by: Eric Anholt <eric@anholt.net> Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/drmP.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h
index 7802c80..afb7858 100644
--- a/include/drm/drmP.h
+++ b/include/drm/drmP.h
@@ -911,6 +911,7 @@ struct drm_device {
int *vblank_enabled; /* so we don't call enable more than
once per disable */
int *vblank_inmodeset; /* Display driver is setting mode */
+ u32 *last_vblank_wait; /* Last vblank seqno waited per CRTC */
struct timer_list vblank_disable_timer;
u32 max_vblank_count; /**< size of vblank counter register */
OpenPOWER on IntegriCloud