drm/i915: Make IRQ reset and postinstall multi-gt aware
authorAndi Shyti <andi.shyti@linux.intel.com>
Mon, 17 Apr 2023 23:53:56 +0000 (01:53 +0200)
committerAndi Shyti <andi.shyti@linux.intel.com>
Tue, 18 Apr 2023 11:19:21 +0000 (13:19 +0200)
commitd1f3b5e92cbab10b4710ba33e20b264c852d19aa
tree3d10e247c2a746e29e1b269cd47509ca504375cd
parent8bfbdadce85c4c51689da10f39c805a7106d4567
drm/i915: Make IRQ reset and postinstall multi-gt aware

In multi-gt systems IRQs need to be reset and enabled per GT.

This might add some redundancy when handling interrupts for
engines that might not exist in every tile, but helps to keep the
code cleaner and more understandable.

Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230417235356.1291060-1-andi.shyti@linux.intel.com
drivers/gpu/drm/i915/i915_irq.c