Revert "present: Allow flipping with PRIME slave outputs"

This reverts commit 5c1dd4eba8.

Bugzilla: https://bugs.freedesktop.org/100086
Reviewed-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
Adam Jackson 2017-03-10 10:54:17 -05:00
parent f23e65f963
commit 0ec92f06d4

View file

@ -144,6 +144,10 @@ present_check_flip(RRCrtcPtr crtc,
if (!screen_priv->info->flip)
return FALSE;
/* Fail to flip if we have slave outputs */
if (screen->output_slaves)
return FALSE;
/* Make sure the window hasn't been redirected with Composite */
window_pixmap = screen->GetWindowPixmap(window);
if (window_pixmap != screen->GetScreenPixmap(screen) &&