diff options
author | Anuj Phogat <[email protected]> | 2018-10-12 14:13:21 -0700 |
---|---|---|
committer | Anuj Phogat <[email protected]> | 2018-11-26 15:11:36 -0800 |
commit | 16e4911972754af49268a5014fc07f0a45a8e7af (patch) | |
tree | ebf911b5a1b82847de99b84200646ca8c47d0e7a | |
parent | 3f55fd3814156b6384679bf4013ebabe53ccedde (diff) |
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 <[email protected]>
Reviewed-by: Francisco Jerez <[email protected]>
-rw-r--r-- | src/intel/genxml/gen11.xml | 1 | ||||
-rw-r--r-- | src/intel/vulkan/genX_cmd_buffer.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/intel/genxml/gen11.xml b/src/intel/genxml/gen11.xml index b975fe94776..1239ed011ed 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 ed88157170d..c7e5ef9596e 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], |