genxml: Make MI_STORE_DATA_IMM have a single 64-bit data field
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 14 Mar 2017 23:22:00 +0000 (16:22 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 17 Mar 2017 22:31:19 +0000 (15:31 -0700)
This is way more convenient than having two separate dword fields.

Reviewed-By: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/genxml/gen6.xml
src/intel/genxml/gen7.xml
src/intel/genxml/gen75.xml
src/intel/genxml/gen8.xml
src/intel/genxml/gen9.xml
src/intel/vulkan/genX_query.c

index 396d53601dc6fe8f441dbf872489ae01e3d09116..da3f64d3f0bd10bbd73708f6f45c46b8b79741b7 100644 (file)
     <field name="DWord Length" start="0" end="5" type="uint" default="2"/>
     <field name="Address" start="66" end="95" type="address"/>
     <field name="Core Mode Enable" start="64" end="64" type="uint"/>
-    <field name="Data DWord 0" start="96" end="127" type="uint"/>
-    <field name="Data DWord 1" start="128" end="159" type="uint"/>
+    <field name="Immediate Data" start="96" end="159" type="uint"/>
   </instruction>
 
   <instruction name="MI_STORE_DATA_INDEX" bias="2" length="3">
index 7ef3158657a8170dfdf6635b00770a4fc263c857..3f3b188221837e1a9534bbe178c396f8f4b6d8c1 100644 (file)
     <field name="DWord Length" start="0" end="5" type="uint" default="2"/>
     <field name="Address" start="66" end="95" type="address"/>
     <field name="Core Mode Enable" start="64" end="64" type="uint"/>
-    <field name="Data DWord 0" start="96" end="127" type="uint"/>
-    <field name="Data DWord 1" start="128" end="159" type="uint"/>
+    <field name="Immediate Data" start="96" end="159" type="uint"/>
   </instruction>
 
   <instruction name="MI_STORE_DATA_INDEX" bias="2" length="3">
index 75d9d980d259d418f7530bf3ff64a155873d231b..91fe02f048f853f56e1a69d0512adc1a9b8402a4 100644 (file)
     <field name="DWord Length" start="0" end="5" type="uint" default="2"/>
     <field name="Address" start="66" end="95" type="address"/>
     <field name="Core Mode Enable" start="64" end="64" type="uint"/>
-    <field name="Data DWord 0" start="96" end="127" type="uint"/>
-    <field name="Data DWord 1" start="128" end="159" type="uint"/>
+    <field name="Immediate Data" start="96" end="159" type="uint"/>
   </instruction>
 
   <instruction name="MI_STORE_DATA_INDEX" bias="2" length="3">
index c3830ebed0f8c2ac0866528c7f6d822e42917055..f9899c684237955ecf41e373f0814c941d74a46c 100644 (file)
     <field name="DWord Length" start="0" end="9" type="uint" default="2"/>
     <field name="Address" start="34" end="79" type="address"/>
     <field name="Core Mode Enable" start="32" end="32" type="uint"/>
-    <field name="Data DWord 0" start="96" end="127" type="uint"/>
-    <field name="Data DWord 1" start="128" end="159" type="uint"/>
+    <field name="Immediate Data" start="96" end="159" type="uint"/>
   </instruction>
 
   <instruction name="MI_STORE_DATA_INDEX" bias="2" length="3">
index e98559ac73f1245bec3be011997ada8a0ef7e8da..bfe49320b03bf576144f37579ea60e691114b330 100644 (file)
     <field name="DWord Length" start="0" end="9" type="uint" default="2"/>
     <field name="Address" start="34" end="79" type="address"/>
     <field name="Core Mode Enable" start="32" end="32" type="uint"/>
-    <field name="Data DWord 0" start="96" end="127" type="uint"/>
-    <field name="Data DWord 1" start="128" end="159" type="uint"/>
+    <field name="Immediate Data" start="96" end="159" type="uint"/>
   </instruction>
 
   <instruction name="MI_STORE_DATA_INDEX" bias="2" length="3">
index 41122a437f380f7d5d8c90d91da35792d57f72ab..2bbca66cebc2e7ea63fcadb20c7174844b430121 100644 (file)
@@ -283,8 +283,7 @@ void genX(CmdResetQueryPool)(
             .bo = &pool->bo,
             .offset = (firstQuery + i) * pool->stride,
          };
-         sdm.DataDWord0 = 0;
-         sdm.DataDWord1 = 0;
+         sdm.ImmediateData = 0;
       }
    }
 }