Chris Wilson 18bb2bccb5 drm/i915: Serialise concurrent calls to i915_gem_set_wedged()
Make i915_gem_set_wedged() and i915_gem_unset_wedged() behaviour more
consistent if called concurrently, and only do the wedging and reporting
once, curtailing any possible race where we start unwedging in the middle
of a wedge.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190114210408.4561-2-chris@chris-wilson.co.uk
2019-01-16 15:24:16 +00:00
..
2019-01-05 18:25:19 -08:00
2018-12-25 11:48:26 -08:00
2018-12-25 11:48:26 -08:00
2018-11-22 12:54:38 +10:00
2018-12-25 11:48:26 -08:00
2019-01-05 18:15:37 -08:00
2018-11-28 09:31:07 -08:00
2018-12-25 11:48:26 -08:00
2018-12-25 11:48:26 -08:00
2019-01-01 15:55:29 -08:00
2019-01-02 11:37:11 +02:00
2018-11-20 14:56:18 +01:00
2018-11-29 10:28:49 +10:00
2018-06-28 13:29:07 +10:00
2018-12-25 11:48:26 -08:00
2018-11-20 14:56:18 +01:00
2018-12-25 11:48:26 -08:00
2018-12-25 11:48:26 -08:00
2018-07-13 18:40:28 +02:00
2018-10-04 11:03:34 +10:00
2018-11-30 10:57:18 +01:00