diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2020-06-26 05:28:51 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2020-06-26 05:28:51 +0000 |
commit | f01dc00098a72a94acc0755052e43bb71cdb7f60 (patch) | |
tree | 50906beedd005d41c1156626a47e8ee51727bdd3 /sys | |
parent | 5a78488742556542df5f26ba812c30b08c664d8b (diff) |
drm/i915/icl+: Fix hotplug interrupt disabling after storm detection
From Imre Deak
2e61678ba2383c0d10a7c862721150a37ffe4eee in linux 5.7.y/5.7.6
a3005c2edf7e8c3478880db1ca84028a2b6819bb in mainline linux
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/drm/i915/i915_irq.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/i915/i915_irq.c b/sys/dev/pci/drm/i915/i915_irq.c index 22692300972..081c5baf281 100644 --- a/sys/dev/pci/drm/i915/i915_irq.c +++ b/sys/dev/pci/drm/i915/i915_irq.c @@ -3092,6 +3092,7 @@ static void gen11_hpd_irq_setup(struct drm_i915_private *dev_priv) val = I915_READ(GEN11_DE_HPD_IMR); val &= ~hotplug_irqs; + val |= ~enabled_irqs & hotplug_irqs; I915_WRITE(GEN11_DE_HPD_IMR, val); POSTING_READ(GEN11_DE_HPD_IMR); |