OSDN Git Service

genxml: Fix PIPELINE_SELECT on G45/Ironlake.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 16 Nov 2017 07:06:27 +0000 (23:06 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 16 Nov 2017 19:01:50 +0000 (11:01 -0800)
Original 965 sets bits 28:27 to 0, while G45 and later set it to 1.

Note that the G45 docs are incorrect in this regard - see the DevCTG+
note in the Ironlake PRMs.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/genxml/gen45.xml
src/intel/genxml/gen5.xml

index c910858..136cc6f 100644 (file)
 
   <instruction name="PIPELINE_SELECT" bias="1" length="1">
     <field name="Command Type" start="29" end="31" type="uint" default="3"/>
-    <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
+    <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
     <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
     <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
     <field name="Pipeline Selection" start="0" end="1" type="uint">
index 93e687a..82cda90 100644 (file)
 
   <instruction name="PIPELINE_SELECT" bias="1" length="1">
     <field name="Command Type" start="29" end="31" type="uint" default="3"/>
-    <field name="Command SubType" start="27" end="28" type="uint" default="0"/>
+    <field name="Command SubType" start="27" end="28" type="uint" default="1"/>
     <field name="3D Command Opcode" start="24" end="26" type="uint" default="1"/>
     <field name="3D Command Sub Opcode" start="16" end="23" type="uint" default="4"/>
     <field name="Pipeline Selection" start="0" end="1" type="uint">