diff options
| author | Chris Wilson <[email protected]> | 2016-08-04 06:52:39 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2016-08-04 07:09:28 +0000 |
| commit | 37db14700e995aa7b74e09b2a1bfe786f0db0121 (patch) | |
| tree | f49b1f073dc374e8cda5da35db6ef77ddf26d911 /drivers/gpu/drm/i915/intel_ringbuffer.c | |
| parent | drm/i915: Move the special case wait-request handling to its one caller (diff) | |
| download | kernel-37db14700e995aa7b74e09b2a1bfe786f0db0121.tar.gz kernel-37db14700e995aa7b74e09b2a1bfe786f0db0121.zip | |
drm/i915: Disable waitboosting for a saturated engine
If the user floods the GPU with so many requests that the engine stalls
waiting for free space, don't automatically promote the GPU to maximum
frequencies. If the GPU really is saturated with work, it will migrate
to high clocks by itself, otherwise it is merely a user flooding us with
busy-work.
Signed-off-by: Chris Wilson <[email protected]>
Reviewed-by: Joonas Lahtinen <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.c')
| -rw-r--r-- | drivers/gpu/drm/i915/intel_ringbuffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c index 542cf585121c..4ab6d2365e30 100644 --- a/drivers/gpu/drm/i915/intel_ringbuffer.c +++ b/drivers/gpu/drm/i915/intel_ringbuffer.c @@ -2299,7 +2299,7 @@ static int wait_for_space(struct drm_i915_gem_request *req, int bytes) if (WARN_ON(&target->ring_link == &ring->request_list)) return -ENOSPC; - ret = __i915_wait_request(target, true, NULL, NULL); + ret = __i915_wait_request(target, true, NULL, NO_WAITBOOST); if (ret) return ret; |
