[Bug 75244] [BYT Regression]igt/gem_concurrent_blit/gtt-gpu-read-after-write-forked causes *ERROR* timed out waiting for Punit
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Jul 8 20:41:07 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=75244
--- Comment #19 from Deepak S <deepak.s at intel.com> ---
Since disabling RC6 is helping us. Shall we try doing a forcewake before
request the freq? If this does not help we might need help from HW team.
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
index 0115689..1fea122 100644
--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -3254,18 +3254,18 @@ static void vlv_set_rps_idle(struct drm_i915_private
*dev_priv)
/* Mask turbo interrupt so that they will not come in between */
I915_WRITE(GEN6_PMINTRMSK, 0xffffffff);
- vlv_force_gfx_clock(dev_priv, true);
-
dev_priv->rps.cur_freq = dev_priv->rps.min_freq_softlimit;
+ gen6_gt_force_wake_get(dev_priv, FORCEWAKE_ALL);
+
vlv_punit_write(dev_priv, PUNIT_REG_GPU_FREQ_REQ,
dev_priv->rps.min_freq_softlimit);
if (wait_for(((vlv_punit_read(dev_priv, PUNIT_REG_GPU_FREQ_STS))
- & GENFREQSTATUS) == 0, 5))
+ & GENFREQSTATUS) == 0, 10))
DRM_ERROR("timed out waiting for Punit\n");
- vlv_force_gfx_clock(dev_priv, false);
+ gen6_gt_force_wake_put(dev_priv, FORCEWAKE_ALL);
I915_WRITE(GEN6_PMINTRMSK,
gen6_rps_pm_mask(dev_priv, dev_priv->rps.cur_freq));
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20140709/5e6d6c7d/attachment.html>
More information about the intel-gfx-bugs
mailing list