]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/xe/vf: Don't touch GuC irq registers if using memory irqs
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Mon, 17 Jun 2024 15:47:36 +0000 (17:47 +0200)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Tue, 18 Jun 2024 10:33:06 +0000 (12:33 +0200)
commitf0ccd2d805e55e12b430d5d6b9acd9f891af455e
treeef4b468e9d568225cbb51d310f5113c6a420e01b
parent0e6745de6dfc1395ce1bbde1e3f9b0a12fba5a1b
drm/xe/vf: Don't touch GuC irq registers if using memory irqs

On platforms where VFs are using memory based interrupts, we
missed invalid access to no longer existing interrupt registers,
as we keep them marked with XE_REG_OPTION_VF. To fix that just
either setup memirq vectors in GuC or enable legacy interrupts.

Fixes: aef4eb7c7dec ("drm/xe/vf: Setup memory based interrupts in GuC")
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240617154736.685-1-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/xe_guc.c