]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/xe/gsc: Turn off GSCCS interrupts when disabling the engine
authorDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Fri, 19 Apr 2024 18:34:11 +0000 (11:34 -0700)
committerDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Wed, 1 May 2024 17:47:19 +0000 (10:47 -0700)
commitd457519c942d4885d92f6367e42ca67f4c7471ad
tree1353c1f672be7323202b0b87b40b705117e25a4e
parente29a7a34c3cf140ceb2f994a8eae0b68d21e357e
drm/xe/gsc: Turn off GSCCS interrupts when disabling the engine

Starting on LNL, there is a new GSCCS interrupt that is triggered when
the GSC engine reset fails. If the HW is in a bad state, this interrupt
might end up being triggered even if we're not using the engine, which
will lead to a warning because we'll see it as unexpected. Since there
is no point in handling the interrupt in this scenario, we can just
make sure the interrupts are off when we disable the engine.

Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Tested-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240419183412.1605782-1-daniele.ceraolospurio@intel.com
drivers/gpu/drm/xe/xe_hw_engine.c