]> 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)
commit9e43641ffb429700056500000b2ebbd8dbc2ef83
tree9ff43b62e496970bc9028bf0a38ee2062d0ad7cd
parentb550614c67b0bc0d3f3fbf31742ee83e2bf44566
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