drm/i915: Disable waitboosting for a saturated engine
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 4 Aug 2016 06:52:39 +0000 (07:52 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 4 Aug 2016 07:09:28 +0000 (08:09 +0100)
commit37db14700e995aa7b74e09b2a1bfe786f0db0121
treef49b1f073dc374e8cda5da35db6ef77ddf26d911
parent7da844c5c6fcb7a3575dd20701b481fe86918ab0
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 <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1470293567-10811-20-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_ringbuffer.c