summaryrefslogtreecommitdiff
path: root/src/r6xx_accel.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-03-13 14:03:43 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-03-13 17:58:06 -0400
commit8c2d40894448329e721360811c124998a17ba2ba (patch)
tree1878d766b0077edfd70922d83469eea1e13a6159 /src/r6xx_accel.c
parent176c1b43fc3ee48e87c134446754360b3683c24b (diff)
R6xx/R7xx: fix up vline stuff along the lines of previous chips
Avoids an additional function call.
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;