]> git.baikalelectronics.ru Git - kernel.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)
commite7f51b03dbe8e14d2352b821396ad62d048ab6e9
treeb547a3319fcd771435516217bf72b9384ef7b3d0
parentd933ca9c329bfafcb0aa4428923fe21396054249
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