From 0e730faf34e95d5c081d802b6167eba8acfb6b91 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 4 Jul 2018 09:56:04 +0100 Subject: [PATCH] nudge2 --- drivers/gpu/drm/i915/i915_gem.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c index 048b722cf27c..4cf425d1a287 100644 --- a/drivers/gpu/drm/i915/i915_gem.c +++ b/drivers/gpu/drm/i915/i915_gem.c @@ -488,6 +488,7 @@ i915_gem_object_wait_fence(struct dma_fence *fence, * forcing the clocks too high for the whole system, we only allow * each client to waitboost once in a busy period. */ + intel_rps_set_power(dev_priv, HIGH_POWER); if (rps_client && !i915_request_started(rq)) { if (INTEL_GEN(rq->i915) >= 6) gen6_rps_boost(rq, rps_client); @@ -498,6 +499,7 @@ i915_gem_object_wait_fence(struct dma_fence *fence, out: if (flags & I915_WAIT_LOCKED && i915_request_completed(rq)) i915_request_retire_upto(rq); + intel_rps_set_power(dev_priv, AUTO_POWER); return timeout; } -- 2.18.0