Mesa (master): intel/gen12+: Set way_size_per_bank to 4
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sat Feb 1 02:38:23 UTC 2020
Module: Mesa
Branch: master
Commit: 95831e2f66a16e2334cb1f972c9485b71955900b
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=95831e2f66a16e2334cb1f972c9485b71955900b
Author: Anuj Phogat <anuj.phogat at gmail.com>
Date: Fri Jan 4 16:06:04 2019 -0800
intel/gen12+: Set way_size_per_bank to 4
This patch fixes the way_size_per_bank for Gen12+
Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
Reviewed-by: Sagar Ghuge<sagar.ghuge at intel.com>
---
src/intel/common/gen_l3_config.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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);
More information about the mesa-commit
mailing list