c7ce3af
From 951660dcf5d09f7040ab1d56817ae952a1076978 Mon Sep 17 00:00:00 2001
c7ce3af
From: Jani Nikula <jani.nikula@intel.com>
c7ce3af
Date: Thu, 7 Jan 2016 10:29:10 +0200
c7ce3af
Subject: [PATCH] drm/i915: shut up gen8+ SDE irq dmesg noise, again
c7ce3af
c7ce3af
We still keep getting
c7ce3af
c7ce3af
[    4.249930] [drm:gen8_irq_handler [i915]] *ERROR* The master control interrupt lied (SDE)!
c7ce3af
c7ce3af
This reverts
c7ce3af
c7ce3af
commit 820da7ae46332fa709b171eb7ba57cbd023fa6df
c7ce3af
Author: Jani Nikula <jani.nikula@intel.com>
c7ce3af
Date:   Wed Nov 25 16:47:23 2015 +0200
c7ce3af
c7ce3af
    Revert "drm/i915: shut up gen8+ SDE irq dmesg noise"
c7ce3af
c7ce3af
which in itself is a revert, so this is just doing
c7ce3af
c7ce3af
commit 97e5ed1111dcc5300a0f59a55248cd243937a8ab
c7ce3af
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
c7ce3af
Date:   Fri Oct 23 10:56:12 2015 +0200
c7ce3af
c7ce3af
    drm/i915: shut up gen8+ SDE irq dmesg noise
c7ce3af
c7ce3af
all over again. I'll stop pretending I understand what's going on like I
c7ce3af
did when I thought I'd fixed this for good in
c7ce3af
c7ce3af
commit 6a39d7c986be4fd18eb019e9cdbf774ec36c9f77
c7ce3af
Author: Jani Nikula <jani.nikula@intel.com>
c7ce3af
Date:   Wed Nov 25 16:47:22 2015 +0200
c7ce3af
c7ce3af
    drm/i915: fix the SDE irq dmesg warnings properly
c7ce3af
c7ce3af
Reported-by: Chris Wilson <chris@chris-wilson.co.uk>
c7ce3af
Reference: http://mid.gmane.org/20151213124945.GA5715@nuc-i3427.alporthouse.com
c7ce3af
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=92084
c7ce3af
Cc: drm-intel-fixes@lists.freedesktop.org
c7ce3af
Fixes: 820da7ae4633 ("Revert "drm/i915: shut up gen8+ SDE irq dmesg noise"")
c7ce3af
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
c7ce3af
c7ce3af
[Backported to 4.3.y by Josh Boyer <jwboyer@fedoraproject.org>]
c7ce3af
---
c7ce3af
 drivers/gpu/drm/i915/i915_irq.c | 9 +++++++--
c7ce3af
 1 file changed, 7 insertions(+), 2 deletions(-)
c7ce3af
c7ce3af
diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
c7ce3af
index 39d73dbc1c47..fa7f82d54762 100644
c7ce3af
--- a/drivers/gpu/drm/i915/i915_irq.c
c7ce3af
+++ b/drivers/gpu/drm/i915/i915_irq.c
c7ce3af
@@ -2168,8 +2168,13 @@ static irqreturn_t gen8_irq_handler(int irq, void *arg)
c7ce3af
 			I915_WRITE(SDEIIR, pch_iir);
c7ce3af
 			ret = IRQ_HANDLED;
c7ce3af
 			cpt_irq_handler(dev, pch_iir);
c7ce3af
-		} else
c7ce3af
-			DRM_ERROR("The master control interrupt lied (SDE)!\n");
c7ce3af
+		} else {
c7ce3af
+			/*
c7ce3af
+			 * Like on previous PCH there seems to be something
c7ce3af
+			 * fishy going on with forwarding PCH interrupts.
c7ce3af
+			 */
c7ce3af
+			DRM_DEBUG_DRIVER("The master control interrupt lied (SDE)!\n");
c7ce3af
+		}
c7ce3af
 
c7ce3af
 	}
c7ce3af
 
c7ce3af
-- 
c7ce3af
2.5.0
c7ce3af