summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2022-09-20 18:22:44 -0400
committerJordan Justen <jordan.l.justen@intel.com>2022-09-23 12:49:37 -0700
commitfd8e97957f938165d8380b6a0a13b4d30ca5ff87 (patch)
tree2f924d0fe5d0334756df74c22c550792857ebacd
parent02d858ef0dd958767dad0ab4a606f1f1af0ee155 (diff)
intel/l3: Use L3 full-way allocation setting for gfx12.5 (DG2, MTL)mtl-l3-full-way-config
For now we use an empty set of L3 config settings on DG2 & MTL, which will cause the L3 programming to set L3FullWayAllocationEnable. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
-rw-r--r--src/intel/common/intel_l3_config.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/intel/common/intel_l3_config.c b/src/intel/common/intel_l3_config.c
index 9fcb326f93d..5b42339288d 100644
--- a/src/intel/common/intel_l3_config.c
+++ b/src/intel/common/intel_l3_config.c
@@ -178,8 +178,7 @@ get_l3_list(const struct intel_device_info *devinfo)
return &icl_l3_list;
case 12:
- if (devinfo->platform == INTEL_PLATFORM_DG1 ||
- intel_device_info_is_dg2(devinfo))
+ if (devinfo->platform == INTEL_PLATFORM_DG1 || devinfo->verx10 == 125)
return &empty_l3_list;
else
return &tgl_l3_list;