drm/i915/icl: GSE interrupt moves from DE_MISC to GU_MISC
authorDhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Sat, 16 Jun 2018 00:05:28 +0000 (17:05 -0700)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Mon, 18 Jun 2018 23:02:38 +0000 (16:02 -0700)
commitdf0d28c185ad29d539826a8eb8b651ea9c46051d
treed0a63c6831564c7fb5b81a9e87bd153ec6f8f797
parent9e8789ec967a2d524bcfc79c47a85d08dfbe626a
drm/i915/icl: GSE interrupt moves from DE_MISC to GU_MISC

The Graphics System Event(GSE) interrupt bit has a new location in the
GU_MISC_INTERRUPT_{IIR, ISR, IMR, IER} registers. Since GSE was the only
DE_MISC interrupt that was enabled, with this change we don't enable/handle
any of DE_MISC interrupts for gen11. Credits to Paulo for pointing out
the register change.

v2: from DK
raw_reg_[read/write], branch prediction hint and drop platform check (Mika)

v3: From DK
Early re-enable of master interrupt (Chris)

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
[Paulo: bikesheds and rebases]
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180616000530.5357-1-paulo.r.zanoni@intel.com
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/i915_reg.h