diff options
author | Keith Packard <keithp@neko.keithp.com> | 2006-06-19 13:47:28 -0700 |
---|---|---|
committer | Keith Packard <keithp@neko.keithp.com> | 2006-06-19 13:47:28 -0700 |
commit | 8a6edba33213911cc2210b5e903428b81d45862f (patch) | |
tree | cf1ff10a7d2ca15319a286ef932dad91dc594acf /src/i830.h | |
parent | a73ab7f0e6e3b0462e05c0031ffd602ed3e2bcd4 (diff) |
Set vblank interrupt configuration to match pipe configuration
New i915 drm ioctl (in version 1.5) allows the X server to select
which pipe drives vblank interrupts. Use this to drive from the 'preferred'
pipe. Yes, per-window vblanks would be nice in a shared fb environment.
Maybe someday.
(cherry picked from 2fb375b665f4802819b89f2277fd6154006c11ee commit)
Diffstat (limited to 'src/i830.h')
-rw-r--r-- | src/i830.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -427,6 +427,7 @@ extern void I830DRIUnmapScreenRegions(ScrnInfoPtr pScrn, drmI830Sarea *sarea); extern Bool I830DRIMapScreenRegions(ScrnInfoPtr pScrn, drmI830Sarea *sarea); extern void I830DRIUnlock(ScrnInfoPtr pScrn); extern Bool I830DRILock(ScrnInfoPtr pScrn); +extern Bool I830DRISetVBlankInterrupt (ScrnInfoPtr pScrn, Bool on); #endif extern Bool I830AccelInit(ScreenPtr pScreen); |