drm/i915: Never fully mask the the EI up rps interrupt on SNB/IVB
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 23 May 2016 14:42:48 +0000 (17:42 +0300)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 28 Jul 2016 06:23:24 +0000 (07:23 +0100)
commit12c100bfa5d9103b6c4d43636fee09c31e75605a
tree2c8049690e90717ab1aeb083980b6e6806c4c7d1
parent9930ca1ae7e9fbf67e3a69239e9a39e80f4d9f60
drm/i915: Never fully mask the the EI up rps interrupt on SNB/IVB

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
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/1464014568-4529-1-git-send-email-ville.syrjala@linux.intel.com
Cc: stable@vger.kernel.org
drivers/gpu/drm/i915/intel_pm.c