From 44053c09479b728600bdccb1dbd8c58d3f313c3f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tapani=20P=C3=A4lli?= Date: Wed, 5 Apr 2023 08:40:46 +0300 Subject: [PATCH] intel/common: limit the amount of SLM with Wa_14017341140 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Tapani Pälli Reviewed-by: Lionel Landwerlin Part-of: --- src/intel/common/intel_genX_state.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/intel/common/intel_genX_state.h b/src/intel/common/intel_genX_state.h index 6b9e121..a2dbbdd 100644 --- a/src/intel/common/intel_genX_state.h +++ b/src/intel/common/intel_genX_state.h @@ -131,6 +131,9 @@ intel_set_ps_dispatch_state(struct GENX(3DSTATE_PS) *ps, UNUSED static int preferred_slm_allocation_size(const struct intel_device_info *devinfo) { + if (intel_needs_workaround(devinfo, 14017341140)) + return SLM_ENCODES_96K; + return 0; } -- 2.7.4