Mesa (master): intel/gen12: Add L3 configurations

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Sep 6 20:35:55 UTC 2019


Module: Mesa
Branch: master
Commit: 414cae0fd656d84d8447ccfed92ad7f9446113fa
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=414cae0fd656d84d8447ccfed92ad7f9446113fa

Author: Anuj Phogat <anuj.phogat at gmail.com>
Date:   Fri Jan  4 16:04:07 2019 -0800

intel/gen12: Add L3 configurations

Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

---

 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");
    }




More information about the mesa-commit mailing list