Commit 7457d617 authored by Damien Lespiau's avatar Damien Lespiau Committed by Daniel Vetter

drm/i915: We implement WaFbcWaitForVBlankBeforeEnable for ilk and snb

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: default avatarDamien Lespiau <damien.lespiau@intel.com>
Reviewed-by: default avatarPaulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent a0b3335a
...@@ -404,6 +404,8 @@ static void intel_enable_fbc(struct drm_crtc *crtc, unsigned long interval) ...@@ -404,6 +404,8 @@ static void intel_enable_fbc(struct drm_crtc *crtc, unsigned long interval)
* following the termination of the page-flipping sequence * following the termination of the page-flipping sequence
* and indeed performing the enable as a co-routine and not * and indeed performing the enable as a co-routine and not
* waiting synchronously upon the vblank. * waiting synchronously upon the vblank.
*
* WaFbcWaitForVBlankBeforeEnable:ilk,snb
*/ */
schedule_delayed_work(&work->work, msecs_to_jiffies(50)); schedule_delayed_work(&work->work, msecs_to_jiffies(50));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment