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/drmmode_display.h | |
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/drmmode_display.h')
-rw-r--r-- | src/drmmode_display.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/drmmode_display.h b/src/drmmode_display.h index 86caabba..a9891b2d 100644 --- a/src/drmmode_display.h +++ b/src/drmmode_display.h @@ -48,11 +48,14 @@ typedef struct { struct udev_monitor *uevent_monitor; InputHandlerProc uevent_handler; #endif + drmEventContext event_context; + int flip_count; } drmmode_rec, *drmmode_ptr; typedef struct { drmmode_ptr drmmode; drmModeCrtcPtr mode_crtc; + int hw_id; struct radeon_bo *cursor_bo; struct radeon_bo *rotate_bo; unsigned rotate_fb_id; |