genxml/gen6: Fix the length of 3DSTATE_WM
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 6 Aug 2016 05:28:26 +0000 (22:28 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 19 Aug 2016 10:11:29 +0000 (03:11 -0700)
Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/genxml/gen6.xml

index 6ece7496fe4ea2bc971fddeb81a1a64f0712c2c8..1be0edef28c9115453fe4cb66abbc12bee482fe1 100644 (file)
     <field name="VS Function Enable" start="160" end="160" type="bool"/>
   </instruction>
 
-  <instruction name="3DSTATE_WM" bias="2" length="3">
+  <instruction name="3DSTATE_WM" bias="2" length="9">
     <field name="Command Type" start="29" end="31" type="uint" default="3"/>
     <field name="Command SubType" start="27" end="28" type="uint" default="3"/>
     <field name="3D Command Opcode" start="24" end="26" type="uint" default="0"/>
     <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="20"/>
-    <field name="DWord Length" start="0" end="7" type="uint" default="1"/>
+    <field name="DWord Length" start="0" end="7" type="uint" default="7"/>
     <field name="Kernel Start Pointer[0]" start="38" end="63" type="offset"/>
     <field name="Single Program Flow (SPF)" start="95" end="95" type="uint"/>
     <field name="Vector Mask Enable (VME)" start="94" end="94" type="uint"/>