Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f4f71c7d authored by Deepak S's avatar Deepak S Committed by Daniel Vetter
Browse files

drm/i915: Re-adjusting rc6 promotional timer for chv



After feedback from the hardware team we are changing the RC6
promotional timer to increase the power saving without
changing performance.

Signed-off-by: default avatarDeepak S <deepak.s@linux.intel.com>
Reviewed-by: default avatarPaulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 74ebf294
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -5046,8 +5046,8 @@ static void cherryview_enable_rps(struct drm_device *dev)
		I915_WRITE(RING_MAX_IDLE(ring->mmio_base), 10);
	I915_WRITE(GEN6_RC_SLEEP, 0);

	/* TO threshold set to 1750 us ( 0x557 * 1.28 us) */
	I915_WRITE(GEN6_RC6_THRESHOLD, 0x557);
	/* TO threshold set to 500 us ( 0x186 * 1.28 us) */
	I915_WRITE(GEN6_RC6_THRESHOLD, 0x186);

	/* allows RC6 residency counter to work */
	I915_WRITE(VLV_COUNTER_CONTROL,