drm/i915/mtl: add GSC CS interrupt support
authorDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Wed, 2 Nov 2022 17:10:45 +0000 (10:10 -0700)
committerDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Mon, 7 Nov 2022 19:03:45 +0000 (11:03 -0800)
commitc07ee636901d1496caf81594f90fc68e9a9c7ba5
tree295f07c267967df09ab37f8557163e100f6255c9
parentc9c12ba72e740e3adb5a2287f6d0372fa45721c3
drm/i915/mtl: add GSC CS interrupt support

The GSC CS re-uses the same interrupt bits that the GSC used in older
platforms. This means that we can now have an engine interrupt coming
out of OTHER_CLASS, so we need to handle that appropriately.

v2: clean up the if statement for the engine irq (Tvrtko)

Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221102171047.2787951-4-daniele.ceraolospurio@intel.com
drivers/gpu/drm/i915/gt/intel_gt_irq.c