Mesa (master): anv/icl: Set use full ways in L3CNTLREG

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Nov 26 23:13:19 UTC 2018


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

Author: Anuj Phogat <anuj.phogat at gmail.com>
Date:   Fri Oct 12 14:13:21 2018 -0700

anv/icl: Set use full ways in L3CNTLREG

L3 allocation table in h/w specification recommends using 4 KB
granularity for programming allocation fields in L3CNTLREG.

Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
Reviewed-by: Francisco Jerez <currojerez at riseup.net>

---

 src/intel/genxml/gen11.xml         | 1 +
 src/intel/vulkan/genX_cmd_buffer.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/intel/genxml/gen11.xml b/src/intel/genxml/gen11.xml
index b975fe9477..1239ed011e 100644
--- a/src/intel/genxml/gen11.xml
+++ b/src/intel/genxml/gen11.xml
@@ -3547,6 +3547,7 @@
     <field name="SLM Enable" start="0" end="0" type="uint"/>
     <field name="URB Allocation" start="1" end="7" type="uint"/>
     <field name="Error Detection Behavior Control" start="9" end="9" type="bool"/>
+    <field name="Use Full Ways" start="10" end="10" type="bool"/>
     <field name="RO Allocation" start="11" end="17" type="uint"/>
     <field name="DC Allocation" start="18" end="24" type="uint"/>
     <field name="All Allocation" start="25" end="31" type="uint"/>
diff --git a/src/intel/vulkan/genX_cmd_buffer.c b/src/intel/vulkan/genX_cmd_buffer.c
index ed88157170..c7e5ef9596 100644
--- a/src/intel/vulkan/genX_cmd_buffer.c
+++ b/src/intel/vulkan/genX_cmd_buffer.c
@@ -1623,6 +1623,7 @@ genX(cmd_buffer_config_l3)(struct anv_cmd_buffer *cmd_buffer,
     * desirable behavior.
    */
                    .ErrorDetectionBehaviorControl = true,
+                   .UseFullWays = true,
 #endif
                    .URBAllocation = cfg->n[GEN_L3P_URB],
                    .ROAllocation = cfg->n[GEN_L3P_RO],




More information about the mesa-commit mailing list