[Intel-gfx] [PATCH 1/8] drm/i915: Serialise concurrent calls to i915_gem_set_wedged()

Chris Wilson chris at chris-wilson.co.uk
Tue Jan 15 12:05:27 UTC 2019


Quoting Mika Kuoppala (2019-01-15 11:56:11)
> Chris Wilson <chris at chris-wilson.co.uk> writes:
> 
> > Make i915_gem_set_wedged() and i915_gem_unset_wedged() behaviour more
> > consistently if called concurrently.
> 
> More is needed in here. The purpose is to make them wait in turns
> on top of mutex, instead of racing on the bit? Where is
> the inconsistency tho.

We report set-wedged multiple times on failure paths. Worse is when we
report set-wedged multiple times simultaneously.
-Chris


More information about the Intel-gfx mailing list