summaryrefslogtreecommitdiff
path: root/src/r600_textured_videofuncs.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-09-25 14:44:41 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-09-25 16:43:59 -0400
commit3efecebb10de7f7bacf9f8c57ae20fd508097294 (patch)
treeb102341968720c5f71283ffc9500602a3544f5da /src/r600_textured_videofuncs.c
parent9733dcde0a21b7503aa20254724f2910b541b990 (diff)
radeon: fix vline handling for kms
drm crtc ids do not correspond to actual hw crtcs, as such the vline stuff was never enabled for Xv. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Diffstat (limited to 'src/r600_textured_videofuncs.c')
-rw-r--r--src/r600_textured_videofuncs.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/r600_textured_videofuncs.c b/src/r600_textured_videofuncs.c
index e30cfcb8..5e6c5610 100644
--- a/src/r600_textured_videofuncs.c
+++ b/src/r600_textured_videofuncs.c
@@ -579,14 +579,11 @@ R600DisplayTexturedVideo(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv)
pPriv->drw_x + pPriv->dst_w,
pPriv->drw_y,
pPriv->drw_y + pPriv->dst_h);
- if (crtc) {
- RADEONCrtcPrivatePtr radeon_crtc = crtc->driver_private;
-
+ if (crtc)
cp_wait_vline_sync(pScrn, accel_state->ib, pPixmap,
- radeon_crtc->crtc_id,
+ crtc,
pPriv->drw_y - crtc->y,
(pPriv->drw_y - crtc->y) + pPriv->dst_h);
- }
}
while (nBox--) {