<div dir="ltr">Reviewed-by: Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, May 5, 2018 at 11:39 AM, Chris Wilson <span dir="ltr"><<a href="mailto:chris@chris-wilson.co.uk" target="_blank">chris@chris-wilson.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">A couple of typos found by inspecting field.end - field.start, revealed<br>
a few wide integers declared as bool and some that ended before they<br>
started.<br>
<br>
Cc: Lionel Landwerlin <<a href="mailto:lionel.g.landwerlin@intel.com">lionel.g.landwerlin@intel.com</a><br>
---<br>
src/intel/genxml/gen4.xml | 12 ++++++------<br>
src/intel/genxml/gen45.xml | 12 ++++++------<br>
src/intel/genxml/gen5.xml | 12 ++++++------<br>
src/intel/genxml/gen6.xml | 6 +++---<br>
src/intel/genxml/gen7.xml | 6 +++---<br>
src/intel/genxml/gen75.xml | 8 ++++----<br>
6 files changed, 28 insertions(+), 28 deletions(-)<br>
<br>
diff --git a/src/intel/genxml/gen4.xml b/src/intel/genxml/gen4.xml<br>
index 6f513c5833b..cd50a1012bc 100644<br>
--- a/src/intel/genxml/gen4.xml<br>
+++ b/src/intel/genxml/gen4.xml<br>
@@ -961,12 +961,12 @@<br>
<field name="CLIP Unit URB Reallocation Request" start="10" end="10" type="bool"/><br>
<field name="GS Unit URB Reallocation Request" start="9" end="9" type="bool"/><br>
<field name="VS Unit URB Reallocation Request" start="8" end="8" type="bool"/><br>
- <field name="CLIP Fence" start="52" end="61" type="bool"/><br>
- <field name="GS Fence" start="42" end="51" type="bool"/><br>
- <field name="VS Fence" start="32" end="41" type="bool"/><br>
- <field name="CS Fence" start="84" end="94" type="bool"/><br>
- <field name="VFE Fence" start="74" end="83" type="bool"/><br>
- <field name="SF Fence" start="64" end="73" type="bool"/><br>
+ <field name="CLIP Fence" start="52" end="61" type="uint"/><br>
+ <field name="GS Fence" start="42" end="51" type="uint"/><br>
+ <field name="VS Fence" start="32" end="41" type="uint"/><br>
+ <field name="CS Fence" start="84" end="94" type="uint"/><br>
+ <field name="VFE Fence" start="74" end="83" type="uint"/><br>
+ <field name="SF Fence" start="64" end="73" type="uint"/><br>
</instruction><br>
<br>
<instruction name="XY_COLOR_BLT" bias="2" length="6"><br>
diff --git a/src/intel/genxml/gen45.xml b/src/intel/genxml/gen45.xml<br>
index fbd57a00c50..4d2c1534d3f 100644<br>
--- a/src/intel/genxml/gen45.xml<br>
+++ b/src/intel/genxml/gen45.xml<br>
@@ -994,12 +994,12 @@<br>
<field name="CLIP Unit URB Reallocation Request" start="10" end="10" type="bool"/><br>
<field name="GS Unit URB Reallocation Request" start="9" end="9" type="bool"/><br>
<field name="VS Unit URB Reallocation Request" start="8" end="8" type="bool"/><br>
- <field name="CLIP Fence" start="52" end="61" type="bool"/><br>
- <field name="GS Fence" start="42" end="51" type="bool"/><br>
- <field name="VS Fence" start="32" end="41" type="bool"/><br>
- <field name="CS Fence" start="84" end="94" type="bool"/><br>
- <field name="VFE Fence" start="74" end="83" type="bool"/><br>
- <field name="SF Fence" start="64" end="73" type="bool"/><br>
+ <field name="CLIP Fence" start="52" end="61" type="uint"/><br>
+ <field name="GS Fence" start="42" end="51" type="uint"/><br>
+ <field name="VS Fence" start="32" end="41" type="uint"/><br>
+ <field name="CS Fence" start="84" end="94" type="uint"/><br>
+ <field name="VFE Fence" start="74" end="83" type="uint"/><br>
+ <field name="SF Fence" start="64" end="73" type="uint"/><br>
</instruction><br>
<br>
<instruction name="XY_COLOR_BLT" bias="2" length="6"><br>
diff --git a/src/intel/genxml/gen5.xml b/src/intel/genxml/gen5.xml<br>
index 5c93ecdda30..5bb5a2c3312 100644<br>
--- a/src/intel/genxml/gen5.xml<br>
+++ b/src/intel/genxml/gen5.xml<br>
@@ -1086,12 +1086,12 @@ i<br>
<field name="CLIP Unit URB Reallocation Request" start="10" end="10" type="bool"/><br>
<field name="GS Unit URB Reallocation Request" start="9" end="9" type="bool"/><br>
<field name="VS Unit URB Reallocation Request" start="8" end="8" type="bool"/><br>
- <field name="CLIP Fence" start="52" end="61" type="bool"/><br>
- <field name="GS Fence" start="42" end="51" type="bool"/><br>
- <field name="VS Fence" start="32" end="41" type="bool"/><br>
- <field name="CS Fence" start="84" end="94" type="bool"/><br>
- <field name="VFE Fence" start="74" end="83" type="bool"/><br>
- <field name="SF Fence" start="64" end="73" type="bool"/><br>
+ <field name="CLIP Fence" start="52" end="61" type="uint"/><br>
+ <field name="GS Fence" start="42" end="51" type="uint"/><br>
+ <field name="VS Fence" start="32" end="41" type="uint"/><br>
+ <field name="CS Fence" start="84" end="94" type="uint"/><br>
+ <field name="VFE Fence" start="74" end="83" type="uint"/><br>
+ <field name="SF Fence" start="64" end="73" type="uint"/><br>
</instruction><br>
<br>
<instruction name="XY_COLOR_BLT" bias="2" length="6"><br>
diff --git a/src/intel/genxml/gen6.xml b/src/intel/genxml/gen6.xml<br>
index 0493221bd72..f258065ebae 100644<br>
--- a/src/intel/genxml/gen6.xml<br>
+++ b/src/intel/genxml/gen6.xml<br>
@@ -1888,7 +1888,7 @@<br>
<value name="Invalid and Unloaded PD fault" value="3"/><br>
</field><br>
<field name= "SRCID of Fault" start="3" end="10" type="uint"/><br>
- <field name="GTTSEL" start="11" end="1" type="uint"><br>
+ <field name="GTTSEL" start="11" end="11" type="uint"><br>
<value name="PPGTT" value="0"/><br>
<value name="GGTT" value="1"/><br>
</field><br>
@@ -1904,7 +1904,7 @@<br>
<value name="Invalid and Unloaded PD fault" value="3"/><br>
</field><br>
<field name= "SRCID of Fault" start="3" end="10" type="uint"/><br>
- <field name="GTTSEL" start="11" end="1" type="uint"><br>
+ <field name="GTTSEL" start="11" end="11" type="uint"><br>
<value name="PPGTT" value="0"/><br>
<value name="GGTT" value="1"/><br>
</field><br>
@@ -1920,7 +1920,7 @@<br>
<value name="Invalid and Unloaded PD fault" value="3"/><br>
</field><br>
<field name= "SRCID of Fault" start="3" end="10" type="uint"/><br>
- <field name="GTTSEL" start="11" end="1" type="uint"><br>
+ <field name="GTTSEL" start="11" end="11" type="uint"><br>
<value name="PPGTT" value="0"/><br>
<value name="GGTT" value="1"/><br>
</field><br>
diff --git a/src/intel/genxml/gen7.xml b/src/intel/genxml/gen7.xml<br>
index baf42a7d32d..895f5d232b5 100644<br>
--- a/src/intel/genxml/gen7.xml<br>
+++ b/src/intel/genxml/gen7.xml<br>
@@ -2537,7 +2537,7 @@<br>
<value name="Invalid and Unloaded PD fault" value="3"/><br>
</field><br>
<field name= "SRCID of Fault" start="3" end="10" type="uint"/><br>
- <field name="GTTSEL" start="11" end="1" type="uint"><br>
+ <field name="GTTSEL" start="11" end="11" type="uint"><br>
<value name="PPGTT" value="0"/><br>
<value name="GGTT" value="1"/><br>
</field><br>
@@ -2553,7 +2553,7 @@<br>
<value name="Invalid and Unloaded PD fault" value="3"/><br>
</field><br>
<field name= "SRCID of Fault" start="3" end="10" type="uint"/><br>
- <field name="GTTSEL" start="11" end="1" type="uint"><br>
+ <field name="GTTSEL" start="11" end="11" type="uint"><br>
<value name="PPGTT" value="0"/><br>
<value name="GGTT" value="1"/><br>
</field><br>
@@ -2569,7 +2569,7 @@<br>
<value name="Invalid and Unloaded PD fault" value="3"/><br>
</field><br>
<field name= "SRCID of Fault" start="3" end="10" type="uint"/><br>
- <field name="GTTSEL" start="11" end="1" type="uint"><br>
+ <field name="GTTSEL" start="11" end="11" type="uint"><br>
<value name="PPGTT" value="0"/><br>
<value name="GGTT" value="1"/><br>
</field><br>
diff --git a/src/intel/genxml/gen75.xml b/src/intel/genxml/gen75.xml<br>
index 7b635b22dac..fe59446d83f 100644<br>
--- a/src/intel/genxml/gen75.xml<br>
+++ b/src/intel/genxml/gen75.xml<br>
@@ -3021,7 +3021,7 @@<br>
<value name="Invalid and Unloaded PD fault" value="3"/><br>
</field><br>
<field name= "SRCID of Fault" start="3" end="10" type="uint"/><br>
- <field name="GTTSEL" start="11" end="1" type="uint"><br>
+ <field name="GTTSEL" start="11" end="11" type="uint"><br>
<value name="PPGTT" value="0"/><br>
<value name="GGTT" value="1"/><br>
</field><br>
@@ -3037,7 +3037,7 @@<br>
<value name="Invalid and Unloaded PD fault" value="3"/><br>
</field><br>
<field name= "SRCID of Fault" start="3" end="10" type="uint"/><br>
- <field name="GTTSEL" start="11" end="1" type="uint"><br>
+ <field name="GTTSEL" start="11" end="11" type="uint"><br>
<value name="PPGTT" value="0"/><br>
<value name="GGTT" value="1"/><br>
</field><br>
@@ -3053,7 +3053,7 @@<br>
<value name="Invalid and Unloaded PD fault" value="3"/><br>
</field><br>
<field name= "SRCID of Fault" start="3" end="10" type="uint"/><br>
- <field name="GTTSEL" start="11" end="1" type="uint"><br>
+ <field name="GTTSEL" start="11" end="11" type="uint"><br>
<value name="PPGTT" value="0"/><br>
<value name="GGTT" value="1"/><br>
</field><br>
@@ -3069,7 +3069,7 @@<br>
<value name="Invalid and Unloaded PD fault" value="3"/><br>
</field><br>
<field name= "SRCID of Fault" start="3" end="10" type="uint"/><br>
- <field name="GTTSEL" start="11" end="1" type="uint"><br>
+ <field name="GTTSEL" start="11" end="11" type="uint"><br>
<value name="PPGTT" value="0"/><br>
<value name="GGTT" value="1"/><br>
</field><br>
<span class="HOEnZb"><font color="#888888">-- <br>
2.17.0<br>
<br>
______________________________<wbr>_________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/mesa-dev</a><br>
</font></span></blockquote></div><br></div>