]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: assert_spin_locked for pipestat interrupt enable/disable
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 27 Jun 2013 15:52:10 +0000 (17:52 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 5 Jul 2013 21:56:24 +0000 (23:56 +0200)
commit621b0b42fe17601d67ab90e3f9bd973f8bf74e73
tree677ad4607f35ee842abf430314603dee55845323
parenteb8c885e7f9ca8d66e6033d2cff775fb64745475
drm/i915: assert_spin_locked for pipestat interrupt enable/disable

Just to keep the paranoia equal also sprinkle locking asserts over the
pipestat interrupt enable/disable functions.

Again this results in false positives in the interrupt setup. Add
bogo-locking for these and a big comment explaining why it's there and
that it's indeed unnecessary.

v2: Fix up the spelling fail Paulo spotted in comments.

Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c