diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2016-05-10 15:47:55 +0900 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2016-05-12 16:28:49 +0900 |
commit | 744ac5faff7f58e26fa76974b6bdc345ea4c7c79 (patch) | |
tree | d9688d4af867a79981999f4f77bc0fac293d9bd0 /src/amdgpu_dri2.c | |
parent | 4822ec7a23d2253c88bc403f17abb6d7a053528c (diff) |
Add support for async flips to radeon_do_pageflip
Will be used by the next change. No functional change here.
(Ported from radeon commit 90a915c62d012e99193833aecc93974e68880c60)
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/amdgpu_dri2.c')
-rw-r--r-- | src/amdgpu_dri2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amdgpu_dri2.c b/src/amdgpu_dri2.c index 29f60ba..27a0c1a 100644 --- a/src/amdgpu_dri2.c +++ b/src/amdgpu_dri2.c @@ -615,7 +615,7 @@ amdgpu_dri2_schedule_flip(xf86CrtcPtr crtc, ClientPtr client, AMDGPU_DRM_QUEUE_ID_DEFAULT, flip_info, ref_crtc_hw_id, amdgpu_dri2_flip_event_handler, - amdgpu_dri2_flip_event_abort)) { + amdgpu_dri2_flip_event_abort, FLIP_VSYNC)) { info->drmmode.dri2_flipping = TRUE; return TRUE; } |