From: Michel Dänzer <michel.daenzer@xxxxxxx> Fixes issues when mixing rotation and page flipping with current xserver Git master. Signed-off-by: Michel Dänzer <michel.daenzer at amd.com> --- src/amdgpu_dri2.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/amdgpu_dri2.c b/src/amdgpu_dri2.c index 9cdcf28..17b8578 100644 --- a/src/amdgpu_dri2.c +++ b/src/amdgpu_dri2.c @@ -600,7 +600,10 @@ can_exchange(ScrnInfoPtr pScrn, DrawablePtr draw, for (i = 0; i < xf86_config->num_crtc; i++) { xf86CrtcPtr crtc = xf86_config->crtc[i]; - if (crtc->enabled && crtc->rotatedData) + drmmode_crtc_private_ptr drmmode_crtc = crtc->driver_private; + + if (crtc->enabled && + (crtc->rotatedData || drmmode_crtc->scanout[0].bo)) return FALSE; } -- 2.8.1