]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Drop the IRQ-off asserts
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Thu, 26 Sep 2019 10:56:44 +0000 (12:56 +0200)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 26 Sep 2019 17:44:35 +0000 (18:44 +0100)
commit3e6bc9aa3d95ce354e75ef2c19124756278244d7
tree97a4183f30c15d70f654a58d1b75d4ca943100c1
parentad586a4a9cdabfb5deba2ca34c5905741b3201a0
drm/i915: Drop the IRQ-off asserts

The lockdep_assert_irqs_disabled() check is needless. The previous
lockdep_assert_held() check ensures that the lock is acquired and while
the lock is acquired lockdep also prints a warning if the interrupts are
not disabled if they have to be.
These IRQ-off asserts trigger on PREEMPT_RT because the locks become
sleeping locks and do not really disable interrupts.

Remove lockdep_assert_irqs_disabled().

Reported-by: Clark Williams <williams@redhat.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190926105644.16703-3-bigeasy@linutronix.de
drivers/gpu/drm/i915/gt/intel_breadcrumbs.c