]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/gpu/drm/i915/intel_pm.c
drm/i915: Free RPS boosts for all laggards
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 27 Apr 2015 12:41:24 +0000 (13:41 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 21 May 2015 20:50:05 +0000 (22:50 +0200)
commite61b995841e6d165b77209c2bdf9c96ae0c16b89
treee6d3c6b81bcd972e0958757742be1a7bc7f0f3fb
parentf5a4c67d52e42ad4e76c27287fb7e4a06e11e3fc
drm/i915: Free RPS boosts for all laggards

If the client stalls on a congested request, chosen to be 20ms old to
match throttling, allow the client a free RPS boost.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
[danvet: s/rq/req/]
[danvet: s/0/NULL/ reported by 0-day build]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_pm.c