]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit57debd1a8427908dc47b25905d51853f7fbef071
tree36e7cef4ab57cb9c6571f0fc9a924d39fb17f73f
parentdef06cbf0c725bd24ecf53d788c767850ffdeb69
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