projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e21cca7
)
intel/common: limit the amount of SLM with Wa_14017341140
author
Tapani Pälli
<tapani.palli@intel.com>
Wed, 5 Apr 2023 05:40:46 +0000
(08:40 +0300)
committer
Marge Bot
<emma+marge@anholt.net>
Thu, 6 Apr 2023 10:54:47 +0000
(10:54 +0000)
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22307>
src/intel/common/intel_genX_state.h
patch
|
blob
|
history
diff --git
a/src/intel/common/intel_genX_state.h
b/src/intel/common/intel_genX_state.h
index
6b9e121
..
a2dbbdd
100644
(file)
--- 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;
}