]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drm/i915: We implement WaFbcWaitForVBlankBeforeEnable for ilk and snb
authorDamien Lespiau <damien.lespiau@intel.com>
Fri, 7 Jun 2013 16:41:07 +0000 (17:41 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 16 Jul 2013 08:30:50 +0000 (10:30 +0200)
We also wait for that blank on other platforms but the w/a doesn't
apply there. Not an issue at all.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c

index bc5aae088550e8b86b8efc53ba9bcbeeb578953c..cae89fe9b84f85d731e80e4cbd2bf7549225ea86 100644 (file)
@@ -404,6 +404,8 @@ static void intel_enable_fbc(struct drm_crtc *crtc, unsigned long interval)
         * following the termination of the page-flipping sequence
         * and indeed performing the enable as a co-routine and not
         * waiting synchronously upon the vblank.
+        *
+        * WaFbcWaitForVBlankBeforeEnable:ilk,snb
         */
        schedule_delayed_work(&work->work, msecs_to_jiffies(50));
 }