diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-11-17 17:39:39 -0500 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2010-12-01 20:30:30 -0500 |
commit | 0de680730294bd623f6b3e189faa7b88a09d3a2a (patch) | |
tree | 0b310deb8c167d10fa24314b3c13328b095f8eaa /src/drmmode_display.h | |
parent | fccdca8db34010f566bd068c74cdef0f4a8cb7f5 (diff) |
radeon/kms: add pageflip support
requires radeon drm 2.8.0 or higher
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Diffstat (limited to 'src/drmmode_display.h')
-rw-r--r-- | src/drmmode_display.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |