summaryrefslogtreecommitdiffstats
path: root/src/intel
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2017-12-12 12:05:00 -0800
committerFrancisco Jerez <[email protected]>2018-03-02 11:28:56 -0800
commit9ec3362e0ba293f20d08493753edeb29d13baadf (patch)
tree1112e65e6d9ee0f30f5f7c216b47613f3fa0cca9 /src/intel
parentaf8877af3b441947e94599a2af3e0fc50b912611 (diff)
intel/l3: Don't allocate SLM partition on ICL+.
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 <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r--src/intel/common/gen_l3_config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/common/gen_l3_config.c b/src/intel/common/gen_l3_config.c
index aff13c06ec0..7d58ad8d7c8 100644
--- 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) {