drm/i915: Simplify do_idling() (Ironlake vt-d w/a)
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 5 Aug 2016 09:14:12 +0000 (10:14 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 5 Aug 2016 09:54:37 +0000 (10:54 +0100)
commit307dc25bf64fb54575d60cf700c7b5b39f183b88
tree1f1ae458d6704765364268b806f734083b70ce2b
parentdcff85c8443e7ad6abda897678d2fd5a950a64ad
drm/i915: Simplify do_idling() (Ironlake vt-d w/a)

Now that we pass along the expected interruptible nature for the
wait-for-idle, we do not need to modify the global
i915->mm.interruptible for this single call. (Only the immediate call to
i915_gem_wait_for_idle() takes the interruptible status as the other
action, dma_map_sg(), is independent of i915.ko)

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/1470388464-28458-7-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_gtt.c