Mesa (master): intel/genxml: Make some PIPE_CONTROL fields booleans

Jason Ekstrand jekstrand at kemper.freedesktop.org
Sat Oct 15 19:21:03 UTC 2016


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

Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri Oct 14 23:09:38 2016 -0700

intel/genxml: Make some PIPE_CONTROL fields booleans

Signed-off-by: Jason Ekstrand <jason at jlekstrand.net>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

---

 src/intel/genxml/gen6.xml  | 9 +++------
 src/intel/genxml/gen7.xml  | 7 ++-----
 src/intel/genxml/gen75.xml | 7 ++-----
 src/intel/genxml/gen8.xml  | 7 ++-----
 src/intel/genxml/gen9.xml  | 7 ++-----
 5 files changed, 11 insertions(+), 26 deletions(-)

diff --git a/src/intel/genxml/gen6.xml b/src/intel/genxml/gen6.xml
index 57e6d45..211716b 100644
--- a/src/intel/genxml/gen6.xml
+++ b/src/intel/genxml/gen6.xml
@@ -1877,12 +1877,9 @@
     <field name="DWord Length" start="0" end="7" type="uint" default="3"/>
     <field name="Store Data Index" start="53" end="53" type="uint"/>
     <field name="Command Streamer Stall Enable" start="52" end="52" type="bool"/>
-    <field name="Global Snapshot Count Reset" start="51" end="51" type="uint">
-      <value name="Don't Reset" value="0"/>
-      <value name="Reset" value="1"/>
-    </field>
-    <field name="TLB Invalidate" start="50" end="50" type="uint"/>
-    <field name="Synchronize GFDT Surface" start="49" end="49" type="uint"/>
+    <field name="Global Snapshot Count Reset" start="51" end="51" type="bool"/>
+    <field name="TLB Invalidate" start="50" end="50" type="bool"/>
+    <field name="Synchronize GFDT Surface" start="49" end="49" type="bool"/>
     <field name="Generic Media State Clear" start="48" end="48" type="bool"/>
     <field name="Post Sync Operation" start="46" end="47" type="uint">
       <value name="No Write" value="0"/>
diff --git a/src/intel/genxml/gen7.xml b/src/intel/genxml/gen7.xml
index 0105b42..eabb244 100644
--- a/src/intel/genxml/gen7.xml
+++ b/src/intel/genxml/gen7.xml
@@ -2428,11 +2428,8 @@
     </field>
     <field name="Store Data Index" start="53" end="53" type="uint"/>
     <field name="Command Streamer Stall Enable" start="52" end="52" type="bool"/>
-    <field name="Global Snapshot Count Reset" start="51" end="51" type="uint">
-      <value name="Don't Reset" value="0"/>
-      <value name="Reset" value="1"/>
-    </field>
-    <field name="TLB Invalidate" start="50" end="50" type="uint"/>
+    <field name="Global Snapshot Count Reset" start="51" end="51" type="bool"/>
+    <field name="TLB Invalidate" start="50" end="50" type="bool"/>
     <field name="Generic Media State Clear" start="48" end="48" type="bool"/>
     <field name="Post Sync Operation" start="46" end="47" type="uint">
       <value name="No Write" value="0"/>
diff --git a/src/intel/genxml/gen75.xml b/src/intel/genxml/gen75.xml
index 5022d8f..27a12cb 100644
--- a/src/intel/genxml/gen75.xml
+++ b/src/intel/genxml/gen75.xml
@@ -2827,11 +2827,8 @@
     </field>
     <field name="Store Data Index" start="53" end="53" type="uint"/>
     <field name="Command Streamer Stall Enable" start="52" end="52" type="bool"/>
-    <field name="Global Snapshot Count Reset" start="51" end="51" type="uint">
-      <value name="Don't Reset" value="0"/>
-      <value name="Reset" value="1"/>
-    </field>
-    <field name="TLB Invalidate" start="50" end="50" type="uint"/>
+    <field name="Global Snapshot Count Reset" start="51" end="51" type="bool"/>
+    <field name="TLB Invalidate" start="50" end="50" type="bool"/>
     <field name="Generic Media State Clear" start="48" end="48" type="bool"/>
     <field name="Post Sync Operation" start="46" end="47" type="uint">
       <value name="No Write" value="0"/>
diff --git a/src/intel/genxml/gen8.xml b/src/intel/genxml/gen8.xml
index 971c997..ee62614 100644
--- a/src/intel/genxml/gen8.xml
+++ b/src/intel/genxml/gen8.xml
@@ -3068,11 +3068,8 @@
     </field>
     <field name="Store Data Index" start="53" end="53" type="uint"/>
     <field name="Command Streamer Stall Enable" start="52" end="52" type="bool"/>
-    <field name="Global Snapshot Count Reset" start="51" end="51" type="uint">
-      <value name="Don't Reset" value="0"/>
-      <value name="Reset" value="1"/>
-    </field>
-    <field name="TLB Invalidate" start="50" end="50" type="uint"/>
+    <field name="Global Snapshot Count Reset" start="51" end="51" type="bool"/>
+    <field name="TLB Invalidate" start="50" end="50" type="bool"/>
     <field name="Generic Media State Clear" start="48" end="48" type="bool"/>
     <field name="Post Sync Operation" start="46" end="47" type="uint">
       <value name="No Write" value="0"/>
diff --git a/src/intel/genxml/gen9.xml b/src/intel/genxml/gen9.xml
index b23c59d..9c81c5a 100644
--- a/src/intel/genxml/gen9.xml
+++ b/src/intel/genxml/gen9.xml
@@ -3348,11 +3348,8 @@
     </field>
     <field name="Store Data Index" start="53" end="53" type="uint"/>
     <field name="Command Streamer Stall Enable" start="52" end="52" type="bool"/>
-    <field name="Global Snapshot Count Reset" start="51" end="51" type="uint">
-      <value name="Don't Reset" value="0"/>
-      <value name="Reset" value="1"/>
-    </field>
-    <field name="TLB Invalidate" start="50" end="50" type="uint"/>
+    <field name="Global Snapshot Count Reset" start="51" end="51" type="bool"/>
+    <field name="TLB Invalidate" start="50" end="50" type="bool"/>
     <field name="Generic Media State Clear" start="48" end="48" type="bool"/>
     <field name="Post Sync Operation" start="46" end="47" type="uint">
       <value name="No Write" value="0"/>




More information about the mesa-commit mailing list