summaryrefslogtreecommitdiffstats
path: root/src/intel/common
diff options
context:
space:
mode:
authorAnuj Phogat <[email protected]>2019-01-04 16:04:07 -0800
committerJordan Justen <[email protected]>2019-09-06 13:11:22 -0700
commit414cae0fd656d84d8447ccfed92ad7f9446113fa (patch)
tree42b415db7ac90b724b1119f9a491791b8475b791 /src/intel/common
parent5a7fe0ae992a4bf623578cf7bf8c3451940d57be (diff)
intel/gen12: Add L3 configurations
Signed-off-by: Anuj Phogat <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel/common')
-rw-r--r--src/intel/common/gen_l3_config.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/intel/common/gen_l3_config.c b/src/intel/common/gen_l3_config.c
index e8db6d5ec06..19ea07eef2d 100644
--- a/src/intel/common/gen_l3_config.c
+++ b/src/intel/common/gen_l3_config.c
@@ -146,6 +146,15 @@ static const struct gen_l3_config icl_l3_configs[] = {
{{ 0 }}
};
+/**
+ * TGL validated L3 configurations. \sa tgl_l3_configs.
+ */
+static const struct gen_l3_config tgl_l3_configs[] = {
+ /* SLM URB ALL DC RO IS C T */
+ {{ 0, 32, 88, 0, 0, 0, 0, 0 }},
+ {{ 0, 16, 104, 0, 0, 0, 0, 0 }},
+ {{ 0 }}
+};
/**
* Return a zero-terminated array of validated L3 configurations for the
@@ -170,9 +179,11 @@ get_l3_configs(const struct gen_device_info *devinfo)
return cnl_l3_configs;
case 11:
- case 12:
return icl_l3_configs;
+ case 12:
+ return tgl_l3_configs;
+
default:
unreachable("Not implemented");
}