OSDN Git Service

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)
commitb79480ba5074ae81d1c32073bce3981652e0f717
tree677ad4607f35ee842abf430314603dee55845323
parent190d6cd5cd3606dd13a3ca5bf0c23dc520659c15
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