[Mesa-dev] [PATCH 1/6] intel/l3: Don't allocate SLM partition on ICL+.
Jordan Justen
jordan.l.justen at intel.com
Wed Feb 28 02:07:01 UTC 2018
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
On 2018-02-27 13:38:23, Francisco Jerez wrote:
> SLM has a chunk of special-purpose memory separate from L3 on ICL+, we
> shouldn't allocate a partition for it on L3 anymore.
> ---
> src/intel/common/gen_l3_config.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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) {
> --
> 2.16.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list