summaryrefslogtreecommitdiff
path: root/src/radeon.h
diff options
context:
space:
mode:
authorMichel Dänzer <daenzer@vmware.com>2009-02-24 08:12:42 +0100
committerMichel Dänzer <daenzer@vmware.com>2009-02-24 08:12:42 +0100
commite2e508bc08d993fc108297e9cd2fa0ce183282bc (patch)
tree0f51e937d3075b58bef1a56b4d4361b821a1076f /src/radeon.h
parent5ab8699c97c050424cf813b9a60550aba32446a2 (diff)
Only call RADEONWaitForVLine if it might actually do anything useful.
Otherwise it and RADEONBiggerCrtcArea show up pretty high in x11perf -aa*text profiles.
Diffstat (limited to 'src/radeon.h')
-rw-r--r--src/radeon.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon.h b/src/radeon.h
index 2944fe88..af9c7c2e 100644
--- a/src/radeon.h
+++ b/src/radeon.h
@@ -947,11 +947,11 @@ extern Bool radeon_card_posted(ScrnInfoPtr pScrn);
#ifdef XF86DRI
extern void RADEONWaitForIdleCP(ScrnInfoPtr pScrn);
extern void RADEONWaitForVLineCP(ScrnInfoPtr pScrn, PixmapPtr pPix,
- int crtc, int start, int stop, int enable);
+ int crtc, int start, int stop);
#endif
extern void RADEONWaitForIdleMMIO(ScrnInfoPtr pScrn);
extern void RADEONWaitForVLineMMIO(ScrnInfoPtr pScrn, PixmapPtr pPix,
- int crtc, int start, int stop, int enable);
+ int crtc, int start, int stop);
/* radeon_crtc.c */
extern void radeon_crtc_dpms(xf86CrtcPtr crtc, int mode);