drm/i915: Drop mutex around clearing error state
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 1 Sep 2016 20:55:10 +0000 (21:55 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 2 Sep 2016 07:32:55 +0000 (08:32 +0100)
commit662d19e78b2c0a955879f487755e6a70a5e0226a
tree36e7cef4ab57cb9c6571f0fc9a924d39fb17f73f
parentc4a8a7c718d282c95b46ed78b35662451af4306e
drm/i915: Drop mutex around clearing error state

The error state itself is guarded by a spinlock (admittedly even that is
overkill for a single pointer!) and doesn't require us to take the
struct_mutex in the debugfs/sysfs interface. Removing the struct_mutex
removes one more potential blockage when trying to debug a deadlock.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20160901205510.31307-1-chris@chris-wilson.co.uk
Reviewed-by: David Weinehall <david.weinehall@linux.intel.com
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_sysfs.c