summaryrefslogtreecommitdiff
path: root/src/radeon_dri2.h
diff options
context:
space:
mode:
authorJerome Glisse <jglisse@redhat.com>2010-05-07 17:35:09 +0200
committerJerome Glisse <jglisse@redhat.com>2010-05-10 15:23:24 +0200
commit30591320ec46e491ba20904cc64f3405b51c6505 (patch)
treea6f3bfe598643d32ae1c5ee21628dffd402e3f9c /src/radeon_dri2.h
parent766024dcc61c83490540910ce752f9bfe6dddba4 (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_dri2.h')
-rw-r--r--src/radeon_dri2.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/radeon_dri2.h b/src/radeon_dri2.h
index c391e739..688530f2 100644
--- a/src/radeon_dri2.h
+++ b/src/radeon_dri2.h
@@ -39,4 +39,10 @@ Bool radeon_dri2_screen_init(ScreenPtr pScreen);
void radeon_dri2_close_screen(ScreenPtr pScreen);
#endif
+int drmmode_get_crtc_id(xf86CrtcPtr crtc);
+xf86CrtcPtr radeon_covering_crtc(ScrnInfoPtr pScrn, BoxPtr box,
+ xf86CrtcPtr desired, BoxPtr crtc_box_ret);
+void radeon_dri2_frame_event_handler(unsigned int frame, unsigned int tv_sec,
+ unsigned int tv_usec, void *event_data);
+
#endif