]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Fix system hang with EI UP masked on Haswell
authorMika Kuoppala <mika.kuoppala@linux.intel.com>
Thu, 13 Apr 2017 11:15:27 +0000 (14:15 +0300)
committerMika Kuoppala <mika.kuoppala@intel.com>
Tue, 18 Apr 2017 12:09:59 +0000 (15:09 +0300)
commita642a96f04ad57a9a47e1a41ce45cee37103b0a1
treec1fc9ec64caedc7741d26180a100070c1546741a
parent3f390aed5b020027f4c692d1230c424d9569c51d
drm/i915: Fix system hang with EI UP masked on Haswell

Previously with commit 23eca1db3389
("drm/i915: Don't mask EI UP interrupt on IVB|SNB") certain,
seemingly unrelated bit (GEN6_PM_RP_UP_EI_EXPIRED) was needed
to be unmasked for IVB and SNB in order to prevent system hang
with chained batchbuffers.

Our CI was seeing incomplete results with tests that used
chained batches and it was found out that HSW needs to have this
same bit unmasked to reliably survive chained batches.

Always unmask GEN6_PM_RP_UP_EI_EXPIRED on Haswell to
prevent system hang with batch chaining.

Testcase: igt/gem_exec_fence/nb-await-default
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100672
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: stable@vger.kernel.org
Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/1492082127-29007-1-git-send-email-mika.kuoppala@intel.com
drivers/gpu/drm/i915/i915_irq.c