]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: don't grab dev->struct_mutex for userspace forcewak
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 9 Aug 2012 20:33:58 +0000 (22:33 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 12 Aug 2012 09:28:49 +0000 (11:28 +0200)
commit588f8858054b1ef175f5b172010beeeb2521effb
tree71d1ba4e14dd164ef8b9ad5888b630868df35ca5
parentc97edf7e9024ce817687b73fd0f833a0a77cef3f
drm/i915: don't grab dev->struct_mutex for userspace forcewak

Since forcewake is now protected by a spinlock, we don't need to grab
dev->struct_mutex any more. This way we can also get rid of a stale
comment, noticed by Ben Widawsky while reviewing some locking changes.

v2: Kill the unused variable ret, noticed by Fengguang Wu.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c