From: Anuj Phogat Date: Sat, 5 Jan 2019 00:06:04 +0000 (-0800) Subject: intel/gen12+: Set way_size_per_bank to 4 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=95831e2f66a16e2334cb1f972c9485b71955900b;p=mesa.git 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 --- 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);