Quoting Mika Kuoppala (2018-02-08 11:35:09) > Chris Wilson <[email protected]> writes: > > > Reduce the window of opportunity for set-wedged being called > > concurrently with reset (after i915_reset() has performed the > > i915_gem_unset_wedged()) by moving the set_bit(I915_WEDGED) to before we > > complete the inflight requests. When i915_reset() is being blocked on a > > request, such completion may allow it to start and beginning resetting > > the GPU before i915_gem_set_wedged() has finished (and so before > > set-wedge will have marked the device as wedged). As such, > > i915_gem_init_hw() may see a wedged device even from inside > > i915_reset(). > > > > References: 36703e79a982 ("drm/i915: Break modeset deadlocks on reset") > > Signed-off-by: Chris Wilson <[email protected]> > > Cc: Mika Kuoppala <[email protected]> > > Cc: Joonas Lahtinen <[email protected]> > > Cc: Tvrtko Ursulin <[email protected]> > > Reviewed-by: Mika Kuoppala <[email protected]>
Thank you both kindly for the review, -Chris _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
