]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/i915: Limit ring synchronisation (sw sempahores) RPS boosts
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 27 Apr 2015 12:41:20 +0000 (13:41 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 21 May 2015 13:11:43 +0000 (15:11 +0200)
commita6f766f3975185af66a31a2cea2cd38721645999
tree71b34650fbd4dd16d690a9a23eb2702ae0d31fa2
parent03ade51185596a1d1028531c78fda557f244d676
drm/i915: Limit ring synchronisation (sw sempahores) RPS boosts

Ring switches can occur many times per frame, and are often out of
control, causing frequent RPS boosting for no practical benefit. Treat
the sw semaphore synchronisation as a separate client and only allow it
to boost once per busy/idle cycle.

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