summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2017-07-31 17:12:59 +0900
committerMichel Dänzer <michel@daenzer.net>2017-08-17 16:03:50 +0900
commitd314cbfb228bb4b8762714f98d0c114a8ee3f061 (patch)
treec5a0698aeb3ffb0d73efe15fc608110671c36de6 /src
parent4445765af5b97d0cfd10889fe6d6f58f2ce85659 (diff)
Always allow DRI2 page flipping with TearFree
Even if TearFree is enabled for the CRTC we're synchronizing to. v2: * Move manpage hunk here from previous change. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> # v1
Diffstat (limited to 'src')
-rw-r--r--src/radeon_dri2.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/radeon_dri2.c b/src/radeon_dri2.c
index a0deb6ba..73adbe91 100644
--- a/src/radeon_dri2.c
+++ b/src/radeon_dri2.c
@@ -760,8 +760,6 @@ can_flip(xf86CrtcPtr crtc, DrawablePtr draw,
for (i = 0, num_crtcs_on = 0; i < config->num_crtc; i++) {
if (drmmode_crtc_can_flip(config->crtc[i]))
num_crtcs_on++;
- else if (config->crtc[i] == crtc)
- return FALSE;
}
return num_crtcs_on > 0 && can_exchange(pScrn, draw, front, back);