[Mesa-dev] [PATCH 3/5] intel/icl: Set way_size_per_bank to 4
Anuj Phogat
anuj.phogat at gmail.com
Tue Nov 13 22:34:00 UTC 2018
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>
---
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
More information about the mesa-dev
mailing list