From 414cae0fd656d84d8447ccfed92ad7f9446113fa Mon Sep 17 00:00:00 2001 From: Anuj Phogat Date: Fri, 4 Jan 2019 16:04:07 -0800 Subject: [PATCH] intel/gen12: Add L3 configurations Signed-off-by: Anuj Phogat Reviewed-by: Kenneth Graunke --- src/intel/common/gen_l3_config.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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"); } -- 2.30.2