summaryrefslogtreecommitdiffstats
path: root/debian/patches-rt/drm-i915-Drop-the-IRQ-off-asserts.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches-rt/drm-i915-Drop-the-IRQ-off-asserts.patch')
-rw-r--r--debian/patches-rt/drm-i915-Drop-the-IRQ-off-asserts.patch22
1 files changed, 11 insertions, 11 deletions
diff --git a/debian/patches-rt/drm-i915-Drop-the-IRQ-off-asserts.patch b/debian/patches-rt/drm-i915-Drop-the-IRQ-off-asserts.patch
index 17af11419..2ce13a4d5 100644
--- a/debian/patches-rt/drm-i915-Drop-the-IRQ-off-asserts.patch
+++ b/debian/patches-rt/drm-i915-Drop-the-IRQ-off-asserts.patch
@@ -1,12 +1,12 @@
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
-Date: Thu, 26 Sep 2019 09:31:06 +0200
+Date: Thu, 26 Sep 2019 12:30:21 +0200
Subject: [PATCH] drm/i915: Drop the IRQ-off asserts
-Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.2/older/patches-5.2.17-rt9.tar.xz
+Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.4/older/patches-5.4.3-rt1.tar.xz
The lockdep_assert_irqs_disabled() check is needless. The previous
-lockdep_assert_held() check ensures that the lock is acquired and that
-time lockdep also prints a warning if the interrupts are not disabled if
-they have to be.
+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.
@@ -15,20 +15,20 @@ Remove lockdep_assert_irqs_disabled().
Reported-by: Clark Williams <williams@redhat.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
---
- drivers/gpu/drm/i915/intel_breadcrumbs.c | 3 ---
+ drivers/gpu/drm/i915/gt/intel_breadcrumbs.c | 3 ---
1 file changed, 3 deletions(-)
---- a/drivers/gpu/drm/i915/intel_breadcrumbs.c
-+++ b/drivers/gpu/drm/i915/intel_breadcrumbs.c
-@@ -101,7 +101,6 @@ static void
+--- a/drivers/gpu/drm/i915/gt/intel_breadcrumbs.c
++++ b/drivers/gpu/drm/i915/gt/intel_breadcrumbs.c
+@@ -120,7 +120,6 @@ static void
struct dma_fence_cb *cur, *tmp;
lockdep_assert_held(fence->lock);
- lockdep_assert_irqs_disabled();
- list_for_each_entry_safe(cur, tmp, &fence->cb_list, node) {
+ list_for_each_entry_safe(cur, tmp, list, node) {
INIT_LIST_HEAD(&cur->node);
-@@ -270,7 +269,6 @@ void intel_engine_fini_breadcrumbs(struc
+@@ -269,7 +268,6 @@ void intel_engine_fini_breadcrumbs(struc
bool i915_request_enable_breadcrumb(struct i915_request *rq)
{
lockdep_assert_held(&rq->lock);