summaryrefslogtreecommitdiff
path: root/src/radeon_video.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2010-02-12 11:34:47 -0500
committerAlex Deucher <alexdeucher@gmail.com>2010-02-12 11:34:47 -0500
commit8ad4025affe1fb2f417e3a3031d74f83be5df253 (patch)
tree3559f1dc54dfc709ad2df7512b0def5807733348 /src/radeon_video.c
parent4f9d1714a7382594b834d446bbe502663f6a2778 (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_video.c')
-rw-r--r--src/radeon_video.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_video.c b/src/radeon_video.c
index b1b3f158..d7700fa0 100644
--- a/src/radeon_video.c
+++ b/src/radeon_video.c
@@ -136,8 +136,8 @@ radeon_box_area(BoxPtr box)
}
xf86CrtcPtr
-radeon_xv_pick_best_crtc(ScrnInfoPtr pScrn,
- int x1, int x2, int y1, int y2)
+radeon_pick_best_crtc(ScrnInfoPtr pScrn,
+ int x1, int x2, int y1, int y2)
{
xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(pScrn);
int coverage, best_coverage, c;