summaryrefslogtreecommitdiff
path: root/src/r6xx_accel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/r6xx_accel.c')
-rw-r--r--src/r6xx_accel.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/r6xx_accel.c b/src/r6xx_accel.c
index 114ccf50..f93ca013 100644
--- a/src/r6xx_accel.c
+++ b/src/r6xx_accel.c
@@ -309,16 +309,13 @@ cp_set_surface_sync(ScrnInfoPtr pScrn, drmBufPtr ib, uint32_t sync_type, uint32_
/* inserts a wait for vline in the command stream */
void cp_wait_vline_sync(ScrnInfoPtr pScrn, drmBufPtr ib, PixmapPtr pPix,
- int crtc, int start, int stop, Bool enable)
+ int crtc, int start, int stop)
{
RADEONInfoPtr info = RADEONPTR(pScrn);
xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(pScrn);
uint32_t offset;
RADEONCrtcPrivatePtr radeon_crtc;
- if (!enable)
- return;
-
if ((crtc < 0) || (crtc > 1))
return;