]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: implement the Haswell mode set sequence workaround
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Fri, 20 Sep 2013 19:21:19 +0000 (16:21 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 3 Oct 2013 18:01:28 +0000 (20:01 +0200)
commite4916946b8f28dfe2c79f613cb076a5de58d79c2
treeb547a3319fcd771435516217bf72b9384ef7b3d0
parentdda9a66a818d32cbf5c4ecd817456fb6a3b39ec1
drm/i915: implement the Haswell mode set sequence workaround

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 <paulo.r.zanoni@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c