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/radeon_exa_render.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/radeon_exa_render.c')
-rw-r--r-- | src/radeon_exa_render.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/radeon_exa_render.c b/src/radeon_exa_render.c index c1448900..7f350fb6 100644 --- a/src/radeon_exa_render.c +++ b/src/radeon_exa_render.c @@ -2255,7 +2255,9 @@ static void FUNC_NAME(RadeonCompositeTile)(ScrnInfoPtr pScrn, vtx_count = 4; if (info->accel_state->vsync) - FUNC_NAME(RADEONWaitForVLine)(pScrn, pDst, RADEONBiggerCrtcArea(pDst), dstY, dstY + h); + FUNC_NAME(RADEONWaitForVLine)(pScrn, pDst, + radeon_pick_best_crtc(pScrn, dstX, dstY, dstX + w, dstY + h), + dstY, dstY + h); #ifdef ACCEL_CP if (info->ChipFamily < CHIP_FAMILY_R200) { |