diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-01-14 21:04:01 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-01-16 15:24:16 +0000 |
commit | 18bb2bccb5492fb5c36908191b8af77e54c58814 (patch) | |
tree | 96cb21f22d1eb251d6f3853b300912b1f1c81800 /drivers/ptp | |
parent | 204474a6b859ff2367252d8312ac65d3245823bf (diff) | |
download | lwn-18bb2bccb5492fb5c36908191b8af77e54c58814.tar.gz lwn-18bb2bccb5492fb5c36908191b8af77e54c58814.zip |
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
Diffstat (limited to 'drivers/ptp')
0 files changed, 0 insertions, 0 deletions