diff options
author | Jesse Barnes <jesse.barnes@intel.com> | 2007-06-22 11:06:51 -0700 |
---|---|---|
committer | Jesse Barnes <jesse.barnes@intel.com> | 2007-06-22 11:06:51 -0700 |
commit | 97dcd7fd25c18d5148619254229f8d94efb55b44 (patch) | |
tree | f7e1c4e47b45241027b5ceaeb726162fd82e2b56 /linux-core/drmP.h | |
parent | 2d24455ed8b12df6d06d135cb70f02473d11f4b0 (diff) |
more vblank rework
- use a timer for disabling vblank events to avoid enable/disable calls too
often
- make i915 work with pre-965 chips again (would like to structure this
better, but this hack works on my test system)
Diffstat (limited to 'linux-core/drmP.h')
-rw-r--r-- | linux-core/drmP.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-core/drmP.h b/linux-core/drmP.h index cf1c0fd7..0ab69feb 100644 --- a/linux-core/drmP.h +++ b/linux-core/drmP.h @@ -832,6 +832,7 @@ typedef struct drm_device { /* for wraparound handling */ u32 *vblank_offset; /* used to track how many vblanks */ u32 *vblank_premodeset; /* were lost during modeset */ + struct timer_list vblank_disable_timer; unsigned long max_vblank_count; /**< size of vblank counter register */ spinlock_t tasklet_lock; /**< For drm_locked_tasklet */ |