mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
genxml: Make 1-bit L3$ config register fields bool on Gen7
Otherwise, they look like booleans but, if you put a value other than
0/1 in them, the GenXML generator code will explode.
Fixes: b6875b0094 "anv: Drop has_slm in emit_l3_config for gen11+"
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9614>
This commit is contained in:
parent
b8ca39a80d
commit
ee395df315
2 changed files with 14 additions and 14 deletions
|
|
@ -3768,23 +3768,23 @@
|
|||
</register>
|
||||
|
||||
<register name="L3CNTLREG2" length="1" num="0xb020">
|
||||
<field name="SLM Enable" start="0" end="0" type="uint"/>
|
||||
<field name="SLM Enable" start="0" end="0" type="bool"/>
|
||||
<field name="URB Allocation" start="1" end="6" type="uint"/>
|
||||
<field name="URB Low Bandwidth" start="7" end="7" type="uint"/>
|
||||
<field name="URB Low Bandwidth" start="7" end="7" type="bool"/>
|
||||
<field name="ALL Allocation" start="8" end="13" type="uint"/>
|
||||
<field name="RO Allocation" start="14" end="19" type="uint"/>
|
||||
<field name="RO Low Bandwidth" start="20" end="20" type="uint"/>
|
||||
<field name="RO Low Bandwidth" start="20" end="20" type="bool"/>
|
||||
<field name="DC Allocation" start="21" end="26" type="uint"/>
|
||||
<field name="DC Low Bandwidth" start="27" end="27" type="uint"/>
|
||||
<field name="DC Low Bandwidth" start="27" end="27" type="bool"/>
|
||||
</register>
|
||||
|
||||
<register name="L3CNTLREG3" length="1" num="0xb024">
|
||||
<field name="IS Allocation" start="1" end="6" type="uint"/>
|
||||
<field name="IS Low Bandwidth" start="7" end="7" type="uint"/>
|
||||
<field name="IS Low Bandwidth" start="7" end="7" type="bool"/>
|
||||
<field name="C Allocation" start="8" end="13" type="uint"/>
|
||||
<field name="C Low Bandwidth" start="14" end="14" type="uint"/>
|
||||
<field name="C Low Bandwidth" start="14" end="14" type="bool"/>
|
||||
<field name="T Allocation" start="15" end="20" type="uint"/>
|
||||
<field name="T Low Bandwidth" start="21" end="21" type="uint"/>
|
||||
<field name="T Low Bandwidth" start="21" end="21" type="bool"/>
|
||||
</register>
|
||||
|
||||
<register name="L3SQCREG1" length="1" num="0xb010">
|
||||
|
|
|
|||
|
|
@ -4181,22 +4181,22 @@
|
|||
</register>
|
||||
|
||||
<register name="L3CNTLREG2" length="1" num="0xb020">
|
||||
<field name="SLM Enable" start="0" end="0" type="uint"/>
|
||||
<field name="SLM Enable" start="0" end="0" type="bool"/>
|
||||
<field name="URB Allocation" start="1" end="6" type="uint"/>
|
||||
<field name="URB Low Bandwidth" start="7" end="7" type="uint"/>
|
||||
<field name="URB Low Bandwidth" start="7" end="7" type="bool"/>
|
||||
<field name="RO Allocation" start="14" end="19" type="uint"/>
|
||||
<field name="RO Low Bandwidth" start="20" end="20" type="uint"/>
|
||||
<field name="RO Low Bandwidth" start="20" end="20" type="bool"/>
|
||||
<field name="DC Allocation" start="21" end="26" type="uint"/>
|
||||
<field name="DC Low Bandwidth" start="27" end="27" type="uint"/>
|
||||
<field name="DC Low Bandwidth" start="27" end="27" type="bool"/>
|
||||
</register>
|
||||
|
||||
<register name="L3CNTLREG3" length="1" num="0xb024">
|
||||
<field name="IS Allocation" start="1" end="6" type="uint"/>
|
||||
<field name="IS Low Bandwidth" start="7" end="7" type="uint"/>
|
||||
<field name="IS Low Bandwidth" start="7" end="7" type="bool"/>
|
||||
<field name="C Allocation" start="8" end="13" type="uint"/>
|
||||
<field name="C Low Bandwidth" start="14" end="14" type="uint"/>
|
||||
<field name="C Low Bandwidth" start="14" end="14" type="bool"/>
|
||||
<field name="T Allocation" start="15" end="20" type="uint"/>
|
||||
<field name="T Low Bandwidth" start="21" end="21" type="uint"/>
|
||||
<field name="T Low Bandwidth" start="21" end="21" type="bool"/>
|
||||
</register>
|
||||
|
||||
<register name="L3SQCREG1" length="1" num="0xb010">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue