summaryrefslogtreecommitdiff
path: root/src/i830.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@neko.keithp.com>2006-06-19 13:47:28 -0700
committerKeith Packard <keithp@neko.keithp.com>2006-06-19 13:47:28 -0700
commit8a6edba33213911cc2210b5e903428b81d45862f (patch)
treecf1ff10a7d2ca15319a286ef932dad91dc594acf /src/i830.h
parenta73ab7f0e6e3b0462e05c0031ffd602ed3e2bcd4 (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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i830.h b/src/i830.h
index 4fa33285..4fc39878 100644
--- a/src/i830.h
+++ b/src/i830.h
@@ -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);