| From 77516eaf1c5aee58fef3981d8ac480401801a3f4 Mon Sep 17 00:00:00 2001 |
| From: Damien Lespiau <damien.lespiau@intel.com> |
| Date: Fri, 7 Jun 2013 17:41:07 +0100 |
| Subject: 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> |
| (cherry picked from commit 7457d61748f7939dea49849db442cb3df4c7c3fe) |
| Signed-off-by: Darren Hart <dvhart@linux.intel.com> |
| --- |
| drivers/gpu/drm/i915/intel_pm.c | 2 ++ |
| 1 file changed, 2 insertions(+) |
| |
| diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c |
| index 19646d3aa052..abd216d6cde3 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) |
| * 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)); |
| } |
| -- |
| 1.8.5.rc3 |
| |