summaryrefslogtreecommitdiff
path: root/src/radeon.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-06-03 17:10:49 +1000
committerDave Airlie <airlied@linux.ie>2007-06-03 17:10:49 +1000
commitdcb64a4d3947e5a9fbda4b72e29a5b6102370f07 (patch)
treeefcd0a201b16d1cfa611e85d751226def78b3dad /src/radeon.h
parent4c61c0ee91a2ffeefce30972a584486f1df1d1ae (diff)
radeon: disable vbl interrupts when no 3d is running on a new enough drm
Diffstat (limited to 'src/radeon.h')
-rw-r--r--src/radeon.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/radeon.h b/src/radeon.h
index 88402df..a22e481 100644
--- a/src/radeon.h
+++ b/src/radeon.h
@@ -818,6 +818,7 @@ typedef struct {
CARD32 tv_dac_adj;
+ Bool want_vblank_interrupts;
} RADEONInfoRec, *RADEONInfoPtr;
#define RADEONWaitForFifo(pScrn, entries) \
@@ -935,6 +936,7 @@ extern drmBufPtr RADEONCPGetBuffer(ScrnInfoPtr pScrn);
extern void RADEONCPFlushIndirect(ScrnInfoPtr pScrn, int discard);
extern void RADEONCPReleaseIndirect(ScrnInfoPtr pScrn);
extern int RADEONCPStop(ScrnInfoPtr pScrn, RADEONInfoPtr info);
+extern Bool RADEONDRISetVBlankInterrupt(ScrnInfoPtr pScrn, Bool on);
extern void RADEONHostDataParams(ScrnInfoPtr pScrn, CARD8 *dst,
CARD32 pitch, int cpp,