]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Disable waitboosting for fence_wait()
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 20 Jul 2016 08:21:12 +0000 (09:21 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 20 Jul 2016 08:29:53 +0000 (09:29 +0100)
commit129403e3054ee1004110357c4323433d6e1dd1b8
tree3bbbf06dfc36ece1ad78102121a7ea69aa15482a
parentefd7d6dca863f5e79c4fe996ead753f3ae10a9d6
drm/i915: Disable waitboosting for fence_wait()

We want to restrict waitboosting to known process contexts, where we can
track which clients are receiving waitboosts and prevent excessive power
wasting. For fence_wait() we do not have any client tracking and so that
leaves it open to abuse.

v2: Hide the IS_ERR_OR_NULL testing for special clients

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1469002875-2335-5-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_request.c
drivers/gpu/drm/i915/i915_gem_request.h