summaryrefslogtreecommitdiff
path: root/src/radeon_video.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2010-05-18 11:21:01 -0400
committerAlex Deucher <alexdeucher@gmail.com>2010-05-18 11:21:01 -0400
commit842fa162e9d3bbad2bc44d3732bbc8e5a54402ea (patch)
tree4fdb2727376f6e35992ec982c07117394658fa75 /src/radeon_video.c
parent64e6858aaf5d0e39ecc9f9804689012f3a38660a (diff)
dri2: use radeon_pick_best_crtc()
It's already exposed and used by exa and Xv and has the same functionality. radeon_covering_crtc() can be dropped eventually.
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 7b5f6dec..5e2a7238 100644
--- a/src/radeon_video.c
+++ b/src/radeon_video.c
@@ -162,7 +162,8 @@ radeon_pick_best_crtc(ScrnInfoPtr pScrn,
return best_crtc;
}
-xf86CrtcPtr
+#ifndef HAVE_XF86CRTCCLIPVIDEOHELPER
+static xf86CrtcPtr
radeon_covering_crtc(ScrnInfoPtr pScrn,
BoxPtr box,
xf86CrtcPtr desired,
@@ -197,7 +198,6 @@ radeon_covering_crtc(ScrnInfoPtr pScrn,
return best_crtc;
}
-#ifndef HAVE_XF86CRTCCLIPVIDEOHELPER
static Bool
radeon_crtc_clip_video_helper(ScrnInfoPtr pScrn,
xf86CrtcPtr *crtc_ret,