aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2013-06-07 12:41:07 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-07-16 04:30:50 -0400
commit7457d61748f7939dea49849db442cb3df4c7c3fe (patch)
tree893a60ca40977b8eee84e247a8df0c2ae2dff83f /drivers/gpu
parenta0b3335a2141aadb8f2398ade97fe574f2ddc875 (diff)
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: Damien Lespiau <damien.lespiau@intel.com> Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/i915/intel_pm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
index bc5aae088550..cae89fe9b84f 100644
--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -404,6 +404,8 @@ static void intel_enable_fbc(struct drm_crtc *crtc, unsigned long interval)
404 * following the termination of the page-flipping sequence 404 * following the termination of the page-flipping sequence
405 * and indeed performing the enable as a co-routine and not 405 * and indeed performing the enable as a co-routine and not
406 * waiting synchronously upon the vblank. 406 * waiting synchronously upon the vblank.
407 *
408 * WaFbcWaitForVBlankBeforeEnable:ilk,snb
407 */ 409 */
408 schedule_delayed_work(&work->work, msecs_to_jiffies(50)); 410 schedule_delayed_work(&work->work, msecs_to_jiffies(50));
409} 411}