diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-02-12 11:34:47 -0500 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2010-02-12 11:34:47 -0500 |
commit | 8ad4025affe1fb2f417e3a3031d74f83be5df253 (patch) | |
tree | 3559f1dc54dfc709ad2df7512b0def5807733348 /src/r600_textured_videofuncs.c | |
parent | 4f9d1714a7382594b834d446bbe502663f6a2778 (diff) |
radeon: consolidate crtc selector for vline wait
Use the Xv version as it takes into account the area
covered by the op rather than just picking the largest
crtc area.
Diffstat (limited to 'src/r600_textured_videofuncs.c')
-rw-r--r-- | src/r600_textured_videofuncs.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/r600_textured_videofuncs.c b/src/r600_textured_videofuncs.c index 69deb815..f9794802 100644 --- a/src/r600_textured_videofuncs.c +++ b/src/r600_textured_videofuncs.c @@ -520,11 +520,11 @@ R600DisplayTexturedVideo(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv) if (pPriv->desired_crtc) crtc = pPriv->desired_crtc; else - crtc = radeon_xv_pick_best_crtc(pScrn, - pPriv->drw_x, - pPriv->drw_x + pPriv->dst_w, - pPriv->drw_y, - pPriv->drw_y + pPriv->dst_h); + crtc = radeon_pick_best_crtc(pScrn, + pPriv->drw_x, + pPriv->drw_x + pPriv->dst_w, + pPriv->drw_y, + pPriv->drw_y + pPriv->dst_h); if (crtc) cp_wait_vline_sync(pScrn, accel_state->ib, pPixmap, crtc, |