drm/i915: Remove superfluous wait_for_error() from throttle-ioctl
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 28 Oct 2016 12:58:26 +0000 (13:58 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 28 Oct 2016 19:53:42 +0000 (20:53 +0100)
commitc92ac094a9c647ebcff56c0535f865bc7f2aa052
treec1ed6ee910761f0008c6fdb4ac74d7aeb7ee91e0
parent7e941861c9c2aa69c0ef6665e2c0c1174c4a4b0e
drm/i915: Remove superfluous wait_for_error() from throttle-ioctl

The throttle-ioctl never touches the struct_mutex. It does, however, as
part of its ABI report whether the hardware is terminally wedged. For
that purposes, it only has to report the current state and not incur the
cost of checking/waiting every invocation, as we do not have to wait for
a reset before waiting on a request to ensure completion (that is baked
into the wait request implementation).

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20161028125858.23563-3-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem.c