]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Construct a request even if the GPU is currently hung
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 14 Jan 2017 16:23:33 +0000 (16:23 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 16 Jan 2017 12:21:20 +0000 (12:21 +0000)
commit028499f56ab3b2b6933532af31c2c1d912c36f0f
tree9ff43b62e496970bc9028bf0a38ee2062d0ad7cd
parent1159d0a55035e79197fe09685394463ec7fc0655
drm/i915: Construct a request even if the GPU is currently hung

As we now have the ability to directly reset the GPU from the waiter
(and so do not need to drop the lock in order to let the reset proceed)
and also do not lose requests over a reset, we can now simply queue the
request to occur after the reset rather than roundtripping to userspace
(or worse failing with EIO).

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