]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Stop asserting on set-wedged vs nop_submit_request ordering
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 12 Oct 2017 20:40:19 +0000 (21:40 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 13 Oct 2017 19:57:29 +0000 (20:57 +0100)
commit5d031f4e1618b64344713b8e4f864a6ccc1f31cf
tree6e87f9d76e0d9061cd6e69f979f50ba4e606e78d
parent15d05f0e77fb32131ad07b377274eedfaf42479d
drm/i915: Stop asserting on set-wedged vs nop_submit_request ordering

Since the removal of the stop_machine(), it is allowed and expected for
the nop_submit_request() and nop_complete_submit_request() to run in
parallel to the i915_gem_set_wedged() processing. As such we can no
longer assert that i915_gem_set_wedged() has completed inside the
stop_machine prior to the individual nop_submit_request execution.

Fixes: af7a8ffad9c5 ("drm/i915: Use rcu instead of stop_machine in set_wedged")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniel Vetter <daniel.vetter@intel.com>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171012204019.3557-1-chris@chris-wilson.co.uk
Reviewed-by: Daniel Vetter <daniel.vetter@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
drivers/gpu/drm/i915/i915_gem.c