drm/i915: Don't downclock whilst we have clients waiting for GPU results
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 27 Apr 2015 12:41:23 +0000 (13:41 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 21 May 2015 13:11:45 +0000 (15:11 +0200)
commitf5a4c67d52e42ad4e76c27287fb7e4a06e11e3fc
tree1d8f1bd07f2d0670ae6bfcfbecde309f7a5b61cd
parent2e1b873072dfe3bbcc158a9c21acde1ab0d36c55
drm/i915: Don't downclock whilst we have clients waiting for GPU results

If we have clients stalled waiting for requests, ignore the GPU if it
signals that it should downclock due to low load. This helps prevent
the automatic timeout from causing extremely long running batches from
taking even longer.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_irq.c