Mesa (master): intel/common/icl: Add L3 config
Matt Turner
mattst88 at kemper.freedesktop.org
Thu Mar 22 16:57:28 UTC 2018
Module: Mesa
Branch: master
Commit: 370af9dcc0c192d2592d22cd6a901c9ee6643b8c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=370af9dcc0c192d2592d22cd6a901c9ee6643b8c
Author: Anuj Phogat <anuj.phogat at gmail.com>
Date: Thu Jul 20 16:23:24 2017 -0700
intel/common/icl: Add L3 config
ICL uses the same L3 configs as CNL, just leaving the SLM configs out.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
---
src/intel/common/gen_l3_config.c | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/src/intel/common/gen_l3_config.c b/src/intel/common/gen_l3_config.c
index 7d58ad8d7c..b977c6ab13 100644
--- a/src/intel/common/gen_l3_config.c
+++ b/src/intel/common/gen_l3_config.c
@@ -133,6 +133,21 @@ static const struct gen_l3_config cnl_l3_configs[] = {
};
/**
+ * ICL validated L3 configurations. \sa icl_l3_configs.
+ */
+static const struct gen_l3_config icl_l3_configs[] = {
+ /* SLM URB ALL DC RO IS C T */
+ {{ 0, 64, 64, 0, 0, 0, 0, 0 }},
+ {{ 0, 64, 0, 16, 48, 0, 0, 0 }},
+ {{ 0, 48, 0, 16, 64, 0, 0, 0 }},
+ {{ 0, 32, 0, 0, 96, 0, 0, 0 }},
+ {{ 0, 32, 96, 0, 0, 0, 0, 0 }},
+ {{ 0, 32, 0, 16, 80, 0, 0, 0 }},
+ {{ 0 }}
+};
+
+
+/**
* Return a zero-terminated array of validated L3 configurations for the
* specified device.
*/
@@ -154,6 +169,9 @@ get_l3_configs(const struct gen_device_info *devinfo)
case 10:
return cnl_l3_configs;
+ case 11:
+ return icl_l3_configs;
+
default:
unreachable("Not implemented");
}
More information about the mesa-commit
mailing list