From 95831e2f66a16e2334cb1f972c9485b71955900b Mon Sep 17 00:00:00 2001 From: Anuj Phogat Date: Fri, 4 Jan 2019 16:06:04 -0800 Subject: intel/gen12+: Set way_size_per_bank to 4 This patch fixes the way_size_per_bank for Gen12+ Signed-off-by: Anuj Phogat Reviewed-by: Jason Ekstrand Reviewed-by: Sagar Ghuge --- src/intel/common/gen_l3_config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/intel/common') diff --git a/src/intel/common/gen_l3_config.c b/src/intel/common/gen_l3_config.c index 19ea07eef2d..46926f8bdf4 100644 --- a/src/intel/common/gen_l3_config.c +++ b/src/intel/common/gen_l3_config.c @@ -321,7 +321,7 @@ 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) || devinfo->gen == 11 ? + (devinfo->gen >= 9 && devinfo->l3_banks == 1) || devinfo->gen >= 11 ? 4 : 2; assert(devinfo->l3_banks); -- cgit v1.2.3