From: Tapani Pälli Date: Wed, 5 Apr 2023 05:40:46 +0000 (+0300) Subject: intel/common: limit the amount of SLM with Wa_14017341140 X-Git-Tag: upstream/23.3.3~10436 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=44053c09479b728600bdccb1dbd8c58d3f313c3f;p=platform%2Fupstream%2Fmesa.git intel/common: limit the amount of SLM with Wa_14017341140 Signed-off-by: Tapani Pälli Reviewed-by: Lionel Landwerlin Part-of: --- 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; }