intel/genxml: Suffix KSP0 fields on Iron Lake
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 12 May 2017 20:33:10 +0000 (13:33 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 26 May 2017 14:58:01 +0000 (07:58 -0700)
Iron Lake introduced the multiple KSP thing and so you have KSP0-3.
However, the genxml didn't have an index on the first "Kernel Start
Pointer" or "GRF Register Count".  Add one to match gen6+.  While we're
here, we drop the brackets from the other "GRF Register Count" fields.

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/intel/genxml/gen5.xml

index 87377df106b9be38f74c4a4cc7fad5d9a867d709..72d79687741d043e0ac86075ec285f85a9b0a257 100644 (file)
   </struct>
 
   <struct name="WM_STATE" length="11">
-    <field name="Kernel Start Pointer" start="6" end="31" type="offset"/>
-    <field name="GRF Register Count" start="1" end="3" type="uint"/>
+    <field name="Kernel Start Pointer 0" start="6" end="31" type="offset"/>
+    <field name="GRF Register Count 0" start="1" end="3" type="uint"/>
     <field name="Single Program Flow" start="63" end="63" type="bool"/>
     <field name="Binding Table Entry Count" start="50" end="57" type="uint"/>
     <field name="Thread Priority" start="49" end="49" type="uint">
     <field name="Global Depth Offset Constant" start="192" end="223" type="float"/>
     <field name="Global Depth Offset Scale" start="224" end="255" type="float"/>
     <field name="Kernel Start Pointer 1" start="262" end="287" type="offset"/>
-    <field name="GRF Register Count[1]" start="257" end="259" type="uint"/>
+    <field name="GRF Register Count 1" start="257" end="259" type="uint"/>
     <field name="Kernel Start Pointer 2" start="294" end="319" type="offset"/>
-    <field name="GRF Register Count[2]" start="289" end="291" type="uint"/>
+    <field name="GRF Register Count 2" start="289" end="291" type="uint"/>
     <field name="Kernel Start Pointer 3" start="326" end="351" type="offset"/>
-    <field name="GRF Register Count[3]" start="321" end="323" type="uint"/>
+    <field name="GRF Register Count 3" start="321" end="323" type="uint"/>
   </struct>
 
   <instruction name="3DPRIMITIVE" bias="2" length="6">