drm/i915: Drop uncore spinlock for reading debugfs forcewake counters
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 23 Mar 2017 10:19:44 +0000 (10:19 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 23 Mar 2017 10:22:05 +0000 (10:22 +0000)
commit233ebf5733d51cb7581b8d330799520d69484cc4
tree5af901696b74a6b0c893d8ea8fd8d2f89b247848
parent6e3955a5af1c3a0b7d9a50be327a71e9065c64ae
drm/i915: Drop uncore spinlock for reading debugfs forcewake counters

The set of available structs is not protected by the spinlock, and for
the single read we can use READ_ONCE instead.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170323101944.21627-7-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_debugfs.c