From: Ville Syrjälä Date: Thu, 19 Sep 2013 20:00:37 +0000 (-0300) Subject: drm/i915: Disable/enable planes as the first/last thing during modeset on HSW X-Git-Tag: v3.13-rc1~76^2~80^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dda9a66a818d32cbf5c4ecd817456fb6a3b39ec1;p=pandora-kernel.git drm/i915: Disable/enable planes as the first/last thing during modeset on HSW Refactor the plane enabling/disabling into helper functions and move the calls to happen as the first thing during .crtc_disable, and the last thing during .crtc_enable. Those are the two clear points where we are sure that the pipe is actually running regardless of the encoder type or hardware generation. v2: Made by Paulo: Remove the code touching everything but the Haswell functions. We need this change on Haswell right now since it fixes a FIFO underrun that we get on pipe A while we enable pipe B (see the workaround notes on the Haswell mode set sequence documentation). We can bring back the code to gens 2-7 later, once they're tested. Signed-off-by: Ville Syrjälä Signed-off-by: Paulo Zanoni Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed