[PATCH xf86-video-ati 10/10] Always allow DRI2 page flipping with TearFree
Michel Dänzer
michel at daenzer.net
Wed Aug 16 07:57:25 UTC 2017
From: Michel Dänzer <michel.daenzer at amd.com>
Even if TearFree is enabled for the CRTC we're synchronizing to.
Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
---
src/radeon_dri2.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/radeon_dri2.c b/src/radeon_dri2.c
index a0deb6bae..73adbe910 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);
--
2.14.1
More information about the amd-gfx
mailing list