diff options
author | Jerome Glisse <jglisse@redhat.com> | 2010-05-07 17:35:09 +0200 |
---|---|---|
committer | Jerome Glisse <jglisse@redhat.com> | 2010-05-10 15:23:24 +0200 |
commit | 30591320ec46e491ba20904cc64f3405b51c6505 (patch) | |
tree | a6f3bfe598643d32ae1c5ee21628dffd402e3f9c /src/radeon_video.c | |
parent | 766024dcc61c83490540910ce752f9bfe6dddba4 (diff) |
kms: add support for the MSC swap & sync API
This patch is mostly a port over of Intel ddx code for
MSC support. It needs a radeon KMS module with version
2.4 which has the query for hw crtc id.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Diffstat (limited to 'src/radeon_video.c')
-rw-r--r-- | src/radeon_video.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_video.c b/src/radeon_video.c index 5e2a7238..7b5f6dec 100644 --- a/src/radeon_video.c +++ b/src/radeon_video.c @@ -162,8 +162,7 @@ radeon_pick_best_crtc(ScrnInfoPtr pScrn, return best_crtc; } -#ifndef HAVE_XF86CRTCCLIPVIDEOHELPER -static xf86CrtcPtr +xf86CrtcPtr radeon_covering_crtc(ScrnInfoPtr pScrn, BoxPtr box, xf86CrtcPtr desired, @@ -198,6 +197,7 @@ radeon_covering_crtc(ScrnInfoPtr pScrn, return best_crtc; } +#ifndef HAVE_XF86CRTCCLIPVIDEOHELPER static Bool radeon_crtc_clip_video_helper(ScrnInfoPtr pScrn, xf86CrtcPtr *crtc_ret, |