[Mesa-dev] [PATCH 3/5] intel/icl: Set way_size_per_bank to 4
Francisco Jerez
currojerez at riseup.net
Mon Nov 26 19:47:27 UTC 2018
Anuj Phogat <anuj.phogat at gmail.com> writes:
> Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
> Cc: Kenneth Graunke <kenneth at whitecape.org>
> Cc: Francisco Jerez <currojerez at riseup.net>
> Cc: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Francisco Jerez <currojerez at riseup.net>
> ---
> src/intel/common/gen_l3_config.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/src/intel/common/gen_l3_config.c b/src/intel/common/gen_l3_config.c
> index 079608198bc..de16ad23017 100644
> --- a/src/intel/common/gen_l3_config.c
> +++ b/src/intel/common/gen_l3_config.c
> @@ -313,7 +313,8 @@ static unsigned
> get_l3_way_size(const struct gen_device_info *devinfo)
> {
> const unsigned way_size_per_bank =
> - devinfo->gen >= 9 && devinfo->l3_banks == 1 ? 4 : 2;
> + (devinfo->gen >= 9 && devinfo->l3_banks == 1) || devinfo->gen == 11 ?
> + 4 : 2;
>
> assert(devinfo->l3_banks);
> return way_size_per_bank * devinfo->l3_banks;
> --
> 2.17.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20181126/d0521dc6/attachment-0001.sig>
More information about the mesa-dev
mailing list