From e4916946b8f28dfe2c79f613cb076a5de58d79c2 Mon Sep 17 00:00:00 2001 From: Paulo Zanoni Date: Fri, 20 Sep 2013 16:21:19 -0300 Subject: [PATCH] drm/i915: implement the Haswell mode set sequence workaround MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This workaround is described in the mode set sequence documentation. When enabling planes for the second pipe, we need to wait for 2 vblanks on the first pipe. This should solve "a flash of screen corruption if planes are enabled on second/third pipe during the time that big FIFO mode is exiting". Watermarks are fun :) v2: Save indentation levels Signed-off-by: Paulo Zanoni Reviewed-by: Ville Syrjälä Signed-off-by: Daniel Vetter --- Reading git-format-patch failed