]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Remove unneeded struct_mutex around rpm
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 18 Feb 2017 15:00:50 +0000 (15:00 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 20 Feb 2017 10:21:48 +0000 (10:21 +0000)
commit43bd71f4a610094e14f7cd3e016dcffbe6e6e1ad
tree50ca31821a4b862460ec4429b833aa08e49c5e23
parenta5ec3870830123e4cf1ada3c078ba365e35a2b71
drm/i915: Remove unneeded struct_mutex around rpm

We don't need struct_mutex for acquiring an rpm wakeref, and do not need
to serialise those register read (it's the wrong mutex for those
registers in any case). Begone!

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20170218150050.10414-1-chris@chris-wilson.co.uk
Reviewed-by: Radoslaw Szwichtenberg <radoslaw.szwichtenberg@intel.com>
drivers/gpu/drm/i915/i915_debugfs.c