]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbcd70582b5a20275453873bb19863bac1cf29f9d
tree1f1ae458d6704765364268b806f734083b70ce2b
parentc719dc4a1ad9acce68cf9c804dc9a2c929ff392e
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