anv/icl: Set use full ways in L3CNTLREG
authorAnuj Phogat <anuj.phogat@gmail.com>
Fri, 12 Oct 2018 21:13:21 +0000 (14:13 -0700)
committerAnuj Phogat <anuj.phogat@gmail.com>
Mon, 26 Nov 2018 23:11:36 +0000 (15:11 -0800)
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@gmail.com>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/intel/genxml/gen11.xml
src/intel/vulkan/genX_cmd_buffer.c

index b975fe94776826790e42c20cbba004ad16f10146..1239ed011ed5729d3c3d4130f9cf8447f8c95ed7 100644 (file)
     <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"/>
index ed88157170d90aac0056ff7194a4c8e91335d1a1..c7e5ef9596ef90f89c3ca7b7b74cb14c8ea54565 100644 (file)
@@ -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],