diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2016-07-06 15:25:33 +0900 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2016-11-18 12:11:50 +0900 |
commit | 1106b2f773ad0611c729b27f4c192a26b43ef1e7 (patch) | |
tree | 6d4143ff48fd8fefa86b206b405ddc945656fe0d /src/radeon_dri2.c | |
parent | aab80d2203efb8569b26dd02a1c651c792e1ef0c (diff) |
Use DRM_MODE_PAGE_FLIP_TARGET_ABSOLUTE/RELATIVE flags when available
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/radeon_dri2.c')
-rw-r--r-- | src/radeon_dri2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/radeon_dri2.c b/src/radeon_dri2.c index 81126706..860ff290 100644 --- a/src/radeon_dri2.c +++ b/src/radeon_dri2.c @@ -678,7 +678,8 @@ 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, FLIP_VSYNC)) { + radeon_dri2_flip_event_abort, FLIP_VSYNC, + target_msc - radeon_get_msc_delta(draw, crtc))) { info->drmmode.dri2_flipping = TRUE; return TRUE; } |