diff options
author | Robert Noland <rnoland@2hip.net> | 2008-06-03 16:21:13 -0400 |
---|---|---|
committer | Robert Noland <rnoland@wombat.2hip.net> | 2008-06-08 01:53:45 -0400 |
commit | 6d6921719c7d475856199ddbe88bbe11fc882ba6 (patch) | |
tree | 5bb2b4f7f971782fd7d9f5b02016f72acccd64ac /bsd-core/drmP.h | |
parent | ec3d9960219e49e1bd24a097e04c3da88e2fcc53 (diff) |
[FreeBSD] Incorporate vblank fixes for bsd.
Diffstat (limited to 'bsd-core/drmP.h')
-rw-r--r-- | bsd-core/drmP.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/bsd-core/drmP.h b/bsd-core/drmP.h index d3f53b86..88ea4e69 100644 --- a/bsd-core/drmP.h +++ b/bsd-core/drmP.h @@ -794,13 +794,12 @@ 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 */ - - u32 *vblank_offset; /* used to track how many vblanks */ int *vblank_enabled; /* so we don't call enable more than */ /* once per disable */ - u32 *vblank_premodeset; /* were lost during modeset */ + u32 *vblank_premodeset; /* for compensation of spurious wraparounds */ + int *vblank_suspend; /* Don't wait while crtc is likely disabled */ struct callout vblank_disable_timer; - unsigned long max_vblank_count; /* size of vblank counter register */ + u32 max_vblank_count; /* size of vblank counter register */ int num_crtcs; #ifdef __FreeBSD__ |