projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
intel/l3: Don't allocate SLM partition on ICL+.
[mesa.git]
/
src
/
intel
/
common
/
gen_l3_config.c
diff --git
a/src/intel/common/gen_l3_config.c
b/src/intel/common/gen_l3_config.c
index aff13c06ec0f83800ed1c94ef1bcfbdc333919b4..7d58ad8d7c89600345f55b8d72b539662b10797d 100644
(file)
--- a/
src/intel/common/gen_l3_config.c
+++ b/
src/intel/common/gen_l3_config.c
@@
-232,7
+232,7
@@
gen_get_default_l3_weights(const struct gen_device_info *devinfo,
{
struct gen_l3_weights w = {{ 0 }};
- w.w[GEN_L3P_SLM] = needs_slm;
+ w.w[GEN_L3P_SLM] =
devinfo->gen < 11 &&
needs_slm;
w.w[GEN_L3P_URB] = 1.0;
if (devinfo->gen >= 8) {