summaryrefslogtreecommitdiff
path: root/src/radeon_dri2.c
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2016-03-15 16:42:16 +0900
committerMichel Dänzer <michel@daenzer.net>2016-04-12 17:46:12 +0900
commit90a915c62d012e99193833aecc93974e68880c60 (patch)
tree0a62ede5f2d2c6ae4c5c7a4fe036e22c262d4e35 /src/radeon_dri2.c
parentba8b6288c8e6fc4be5d7144ecbe9a1f241881674 (diff)
Add support for async flips to radeon_do_pageflip
Will be used by the next change. No functional change here. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/radeon_dri2.c')
-rw-r--r--src/radeon_dri2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_dri2.c b/src/radeon_dri2.c
index 84cd031f..62325bde 100644
--- a/src/radeon_dri2.c
+++ b/src/radeon_dri2.c
@@ -737,7 +737,7 @@ radeon_dri2_schedule_flip(xf86CrtcPtr crtc, ClientPtr client,
RADEON_DRM_QUEUE_ID_DEFAULT, flip_info,
ref_crtc_hw_id,
radeon_dri2_flip_event_handler,
- radeon_dri2_flip_event_abort)) {
+ radeon_dri2_flip_event_abort, FLIP_VSYNC)) {
info->drmmode.dri2_flipping = TRUE;
return TRUE;
}