projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af8877a
)
intel/l3: Don't allocate SLM partition on ICL+.
author
Francisco Jerez
<currojerez@riseup.net>
Tue, 12 Dec 2017 20:05:00 +0000
(12:05 -0800)
committer
Francisco Jerez
<currojerez@riseup.net>
Fri, 2 Mar 2018 19:28:56 +0000
(11:28 -0800)
SLM has a chunk of special-purpose memory separate from L3 on ICL+, we
shouldn't allocate a partition for it on L3 anymore.
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/common/gen_l3_config.c
patch
|
blob
|
history
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) {