From 0de680730294bd623f6b3e189faa7b88a09d3a2a Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Wed, 17 Nov 2010 17:39:39 -0500 Subject: radeon/kms: add pageflip support requires radeon drm 2.8.0 or higher Signed-off-by: Alex Deucher Signed-off-by: Jerome Glisse --- src/drmmode_display.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/drmmode_display.h') diff --git a/src/drmmode_display.h b/src/drmmode_display.h index e6bfd50a..c3d3561f 100644 --- a/src/drmmode_display.h +++ b/src/drmmode_display.h @@ -39,6 +39,7 @@ typedef struct { int fd; unsigned fb_id; + unsigned old_fb_id; drmModeResPtr mode_res; drmModeFBPtr mode_fb; int cpp; @@ -50,6 +51,7 @@ typedef struct { #endif drmEventContext event_context; int flip_count; + void *event_data; } drmmode_rec, *drmmode_ptr; typedef struct { @@ -99,6 +101,8 @@ extern int drmmode_get_height_align(ScrnInfoPtr scrn, uint32_t tiling); extern int drmmode_get_pitch_align(ScrnInfoPtr scrn, int bpe, uint32_t tiling); extern int drmmode_get_base_align(ScrnInfoPtr scrn, int bpe, uint32_t tiling); +Bool radeon_do_pageflip(ScrnInfoPtr scrn, struct radeon_bo *new_front, void *data); + #endif #endif -- cgit v1.2.3