From 0ec92f06d4b3bad2e62da24ee7fb64fc88a75820 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Fri, 10 Mar 2017 10:54:17 -0500 Subject: [PATCH] Revert "present: Allow flipping with PRIME slave outputs" This reverts commit 5c1dd4eba833ecf4ea789c8319b4e25ea1e1fab9. Bugzilla: https://bugs.freedesktop.org/100086 Reviewed-by: Adam Jackson --- present/present.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/present/present.c b/present/present.c index aa9c041df..ef8904537 100644 --- a/present/present.c +++ b/present/present.c @@ -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) &&