Re: [Intel-gfx] [PATCH] drm/i915: Allow i915_gem_reset_prepare_engine to recurse

2018-05-15 Thread Chris Wilson
Quoting Mika Kuoppala (2018-05-15 09:08:45) > Chris Wilson writes: > > > We call i915_gem_reset_prepare_engine() during reset and then upon > > wedging if the reset fails. Unfortunately, kthread_park and similar do > > not support being called recursively and so we must

Re: [Intel-gfx] [PATCH] drm/i915: Allow i915_gem_reset_prepare_engine to recurse

2018-05-15 Thread Mika Kuoppala
Chris Wilson writes: > We call i915_gem_reset_prepare_engine() during reset and then upon > wedging if the reset fails. Unfortunately, kthread_park and similar do > not support being called recursively and so we must count the number of > times we prepare for reset and

Re: [Intel-gfx] [PATCH] drm/i915: Allow i915_gem_reset_prepare_engine to recurse

2018-05-14 Thread Chris Wilson
Quoting Chris Wilson (2018-05-14 21:52:13) > We call i915_gem_reset_prepare_engine() during reset and then upon > wedging if the reset fails. Unfortunately, kthread_park and similar do > not support being called recursively and so we must count the number of > times we prepare for reset and only

[Intel-gfx] [PATCH] drm/i915: Allow i915_gem_reset_prepare_engine to recurse

2018-05-14 Thread Chris Wilson
We call i915_gem_reset_prepare_engine() during reset and then upon wedging if the reset fails. Unfortunately, kthread_park and similar do not support being called recursively and so we must count the number of times we prepare for reset and only actually prepare on the outermost layer. (Similarly