intel/icl: Set way_size_per_bank to 4
authorAnuj Phogat <anuj.phogat@gmail.com>
Wed, 17 Oct 2018 22:16:37 +0000 (15:16 -0700)
committerAnuj Phogat <anuj.phogat@gmail.com>
Mon, 26 Nov 2018 23:11:36 +0000 (15:11 -0800)
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/intel/common/gen_l3_config.c

index 32264394fb6ad84e3703c100ac2598d10c1154c5..1c0cb55fbc38f2847e3c3a53bcd880e5f8bba3fb 100644 (file)
@@ -309,7 +309,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;