From: Michal Wajdeczko Date: Mon, 11 May 2026 17:28:38 +0000 (+0200) Subject: drm/xe/memirq: Enable GT_MI_USER_INTERRUPT only X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=2ddedd4b7b7c329dd65358025cba8652675bec3d;p=thirdparty%2Flinux.git drm/xe/memirq: Enable GT_MI_USER_INTERRUPT only We only expect and handle the GT_MI_USER_INTERRUPT from the engines, there is no point in enabling other interrupts, like GT_CONTEXT_SWITCH_INTERRUPT, if we don't intent to handle them. Signed-off-by: Michal Wajdeczko Reviewed-by: MichaƂ Winiarski Link: https://patch.msgid.link/20260511172838.2299-3-michal.wajdeczko@intel.com --- diff --git a/drivers/gpu/drm/xe/xe_memirq.c b/drivers/gpu/drm/xe/xe_memirq.c index 579af47edc61..3848ff81c1f9 100644 --- a/drivers/gpu/drm/xe/xe_memirq.c +++ b/drivers/gpu/drm/xe/xe_memirq.c @@ -212,7 +212,11 @@ out: static void memirq_set_enable(struct xe_memirq *memirq, bool enable) { - iosys_map_wr(&memirq->mask, 0, u32, enable ? GENMASK(15, 0) : 0); + /* + * We only care about the GT_MI_USER_INTERRUPT from the engines and + * the GuC does not look at the ENABLE mask at all. + */ + iosys_map_wr(&memirq->mask, 0, u32, enable ? GT_MI_USER_INTERRUPT : 0); memirq->enabled = enable; }