summaryrefslogtreecommitdiff
path: root/src/radeon.h
diff options
context:
space:
mode:
authorPierre Ossman <pierre@ossman.eu>2008-12-04 23:29:31 +0100
committerPierre Ossman <pierre@ossman.eu>2008-12-05 08:10:53 +0100
commit33638d9e388b330e2f4eb4debd05ba09924cf176 (patch)
tree5321988a75235f0559d9359b82bcd8aecbc498b2 /src/radeon.h
parentd1690f5cc096e2f735c8b407c370a1c1cd7a8afc (diff)
Optimise RADEONWaitForVLine
Only avoid the vlines we are rendering to, instead of the entire screen. This way we don't stall the card for longer than we absolutely have to. EXA calls fixed by Alex Deucher.
Diffstat (limited to 'src/radeon.h')
-rw-r--r--src/radeon.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/radeon.h b/src/radeon.h
index 826ffe38..051b7658 100644
--- a/src/radeon.h
+++ b/src/radeon.h
@@ -941,10 +941,12 @@ extern Bool radeon_card_posted(ScrnInfoPtr pScrn);
/* radeon_commonfuncs.c */
#ifdef XF86DRI
extern void RADEONWaitForIdleCP(ScrnInfoPtr pScrn);
-extern void RADEONWaitForVLineCP(ScrnInfoPtr pScrn, PixmapPtr pPix, int crtc);
+extern void RADEONWaitForVLineCP(ScrnInfoPtr pScrn, PixmapPtr pPix,
+ int crtc, int start, int stop);
#endif
extern void RADEONWaitForIdleMMIO(ScrnInfoPtr pScrn);
-extern void RADEONWaitForVLineMMIO(ScrnInfoPtr pScrn, PixmapPtr pPix, int crtc);
+extern void RADEONWaitForVLineMMIO(ScrnInfoPtr pScrn, PixmapPtr pPix,
+ int crtc, int start, int stop);
/* radeon_crtc.c */
extern void radeon_crtc_dpms(xf86CrtcPtr crtc, int mode);