drm/xe/xe2: Add workaround 16020183090
authorLucas De Marchi <lucas.demarchi@intel.com>
Thu, 7 Dec 2023 17:51:17 +0000 (09:51 -0800)
committerLucas De Marchi <lucas.demarchi@intel.com>
Wed, 27 Dec 2023 06:22:04 +0000 (22:22 -0800)
commit570a8fc233b2adb659015bfb09f90a46a6b594d4
tree448b990c4e4116c7de445dbbd7b4c4163c39e5da
parentf031c3a7af8ea06790dd0a71872c4f0175084baa
drm/xe/xe2: Add workaround 16020183090

Graphics version 20.04, used in Lunar Lake, needs WA 16020183090 for
steppings A*. Set ENABLE_SEMAPHORE_POLL_BIT in INSTPM(RENDER_RING_BASE)
and whitelist CSBE_DEBUG_STATUS for userspace to be able to use it
and complement the workaround.

Cc: Haridhar Kalvala <haridhar.kalvala@intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://lore.kernel.org/r/20231207175117.2334022-1-lucas.demarchi@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/xe/regs/xe_engine_regs.h
drivers/gpu/drm/xe/xe_reg_whitelist.c
drivers/gpu/drm/xe/xe_wa.c