public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915: Remove unrequired POSTING_READ from gen6_set_rps()
@ 2017-02-17  8:31 Chris Wilson
  2017-02-17  9:22 ` ✗ Fi.CI.BAT: warning for " Patchwork
  2017-02-17 10:15 ` [PATCH] " Szwichtenberg, Radoslaw
  0 siblings, 2 replies; 3+ messages in thread
From: Chris Wilson @ 2017-02-17  8:31 UTC (permalink / raw)
  To: intel-gfx

The uncached mmio is sufficient to queue the mmio writes without raising
forcewake. The forced flush along with acquiring forcewake from the
posting read is not required for adjusting the RPS frequency.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
 drivers/gpu/drm/i915/intel_pm.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
index bde7ef3c643e..4e9488bd9c3c 100644
--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -4944,8 +4944,6 @@ static int gen6_set_rps(struct drm_i915_private *dev_priv, u8 val)
 	I915_WRITE(GEN6_RP_INTERRUPT_LIMITS, intel_rps_limits(dev_priv, val));
 	I915_WRITE(GEN6_PMINTRMSK, gen6_rps_pm_mask(dev_priv, val));
 
-	POSTING_READ(GEN6_RPNSWREQ);
-
 	dev_priv->rps.cur_freq = val;
 	trace_intel_gpu_freq_change(intel_gpu_freq(dev_priv, val));
 
-- 
2.11.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-02-17 10:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-17  8:31 [PATCH] drm/i915: Remove unrequired POSTING_READ from gen6_set_rps() Chris Wilson
2017-02-17  9:22 ` ✗ Fi.CI.BAT: warning for " Patchwork
2017-02-17 10:15 ` [PATCH] " Szwichtenberg, Radoslaw

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox