]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0d2e33c1587a0305ccdfe19cda8b54ba985751f4
treef927baf3a517fa26d7ba042200d13a83658e3335
parent7b16715119021b8f57651f3107fb022c1a1d4d49
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: 6bf554d04ed2 ("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