FAILED: patch "[PATCH] drm/i915: Never fully mask the the EI up rps interrupt on" failed to apply to 4.8-stable tree
Subsystems (3)
[email protected]
maintainerThe patch below does not apply to the 4.8-stable tree.
If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to <[email protected]>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
Quoted 1 line
From
12c100bfa5d9103b6c4d43636fee09c31e75605aMon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ville=20Syrj=C3=A4l=C3=A4?= <[email protected]>
Date: Mon, 23 May 2016 17:42:48 +0300
Subject: [PATCH] drm/i915: Never fully mask the the EI up rps interrupt on
SNB/IVB
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
SNB (and IVB too I suppose) starts to misbehave if the GPU gets stuck in an infinite batch buffer loop. The GPU apparently hogs something critical and CPUs start to lose interrupts and whatnot. We can keep the system limping along by unmasking some interrupts in GEN6_PMINTRMSK. The EI up interrupt has been previously chosen for that task, so let's never mask it.
v2: s/gen6_rps_pm_mask/gen6_sanitize_rps_pm_mask/ (Chris)
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93122
drivers/gpu/drm/i915/intel_pm.c +2 -1
@@ -4892,7 +4892,8 @@ void gen6_rps_idle(struct drm_i915_private *dev_priv)else gen6_set_rps (dev_priv, dev_priv->rps.idle_freq); dev_priv->rps.last_adj =0 ; -I915_WRITE (GEN6_PMINTRMSK ,0xffffffff ); +I915_WRITE (GEN6_PMINTRMSK , +gen6_sanitize_rps_pm_mask (dev_priv, ~0 )); }mutex_unlock (&dev_priv->rps.hw_lock);