drm/i915: Remove superfluous worker wakeups when RPS is already boosted
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 6 Feb 2018 14:31:37 +0000 (14:31 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 8 Feb 2018 11:27:40 +0000 (11:27 +0000)
commit253a281727d552200c4cddb0cc08cb2e95939603
treef927baf3a517fa26d7ba042200d13a83658e3335
parent020580ff8edd50e64ae1bf47e560c61e5e2f29fc
drm/i915: Remove superfluous worker wakeups when RPS is already boosted

We only need to wake up the RPS worker once when initially enabling the
client boost, it remains in effect then until the last client no longer
requires the boost.

References: https://bugs.freedesktop.org/show_bug.cgi?id=102250
References: 7b92c1bd0540 ("drm/i915: Avoid keeping waitboost active for signaling threads")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Michał Winiarski <michal.winiarski@intel.com>
Reviewed-by: Michał Winiarski <michal.winiarski@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180206143137.15509-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_request.c
drivers/gpu/drm/i915/intel_pm.c