drm/i915: Remove redundant queue_delayed_work() from throttle ioctl
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 4 Jul 2016 07:08:33 +0000 (08:08 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 4 Jul 2016 07:18:21 +0000 (08:18 +0100)
commite307d62d5faba86622c19dca43883ac37bd8e34a
treeb09cd0a18eb0c87870ea188f55b75324c7a79d15
parent1b51bce27b58881275e855a9630918297ce867b8
drm/i915: Remove redundant queue_delayed_work() from throttle ioctl

We know, by design, that whilst the GPU is active (and thus we are
throttling) the retire_worker is queued. Therefore attempting to requeue
it with queue_delayed_work() is a no-op and we can safely remove it.

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/1467616119-4093-3-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem.c