drm/i915: debugfs/i915_gem_interrupt_info does not need struct_mutex
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 3 Sep 2016 06:53:43 +0000 (07:53 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 3 Sep 2016 12:11:05 +0000 (13:11 +0100)
commit4bb05040fd685c549e6550f09daffee6cde4c370
tree4eaef5614fe0e9763a3020c4225d3d9b11119ea0
parent02c53d99b6eb44c7a78e648d023d0485b71f661e
drm/i915: debugfs/i915_gem_interrupt_info does not need struct_mutex

i915_gem_interrupt_info() only looks at mmio registers, and the waiters
under a spinlock. It doesn't need struct_mutex (but does need the rpm
wakelock for mmio access). Maybe useful using get_if_notidle?

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20160903065343.25151-2-chris@chris-wilson.co.uk
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
drivers/gpu/drm/i915/i915_debugfs.c