diff options
author | Ben Widawsky <[email protected]> | 2012-09-07 19:43:41 -0700 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2012-09-20 14:23:01 +0200 |
commit | d5570a72439b2d972c915208266440c2f330d03d (patch) | |
tree | 31de414d953ca4eebd6cc392c41e23c18d9cb848 | |
parent | df6eedc81d43c2245885c6baeb28d488c8a4dea4 (diff) |
drm/i915: POSTING_READ the new rps value
In order to keep our cached values in sync with the hardware, we need a
posting read here.
CC: Chris Wilson <[email protected]>
Signed-off-by: Ben Widawsky <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
-rw-r--r-- | drivers/gpu/drm/i915/intel_pm.c | 2 |
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 36c64091bc90..4e86037ae6b4 100644 --- a/drivers/gpu/drm/i915/intel_pm.c +++ b/drivers/gpu/drm/i915/intel_pm.c @@ -2338,6 +2338,8 @@ void gen6_set_rps(struct drm_device *dev, u8 val) */ I915_WRITE(GEN6_RP_INTERRUPT_LIMITS, limits); + POSTING_READ(GEN6_RPNSWREQ); + dev_priv->rps.cur_delay = val; trace_intel_gpu_freq_change(val * 50); |