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 <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Francisco Jerez
2017-12-12 12:05:00 -08:00
parent af8877af3b
commit 9ec3362e0b
+1 -1
View File
@@ -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) {