]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe/irq: Don't try to lookup engine masks for non-existent primary GT
authorMatt Roper <matthew.d.roper@intel.com>
Mon, 13 Oct 2025 20:09:57 +0000 (13:09 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Tue, 14 Oct 2025 14:45:17 +0000 (07:45 -0700)
commit4d292406823b505bd14bd7e02d2cae7f5fb0a97a
treebbda6aa6b265d4c3b7bb10e1ce65ad6f117a34fa
parent886e5b6e5c96be7202bff2f8032157bd172e0927
drm/xe/irq: Don't try to lookup engine masks for non-existent primary GT

If the primary GT is disabled via configfs, we shouldn't try to access
it to lookup BCS/CCS engine masks.  For the purposes of IRQ reset (which
masks & disables interrupts in an sgunit register), assume all possible
instances are present.

Reviewed-by: Tejas Upadhyay <tejas.upadhyay@intel.com>
Link: https://lore.kernel.org/r/20251013200944.2499947-39-matthew.d.roper@intel.com
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
drivers/gpu/drm/xe/xe_irq.c