v3d: Drop the VG support from the XML.
authorEric Anholt <eric@anholt.net>
Thu, 26 Jul 2018 23:43:28 +0000 (16:43 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 27 Jul 2018 19:56:36 +0000 (12:56 -0700)
This reflects a change on the HW/closed SW side to drop this unused HW.
With it dropped on their side, the CLIF parser no longer expects to find
VG fields.

src/broadcom/cle/v3d_packet_v33.xml
src/gallium/drivers/v3d/v3dx_rcl.c

index eef29da..1f6d467 100644 (file)
   <enum name="Decimate Mode" prefix="V3D_DECIMATE_MODE">
     <value name="sample 0" value="0"/>
     <value name="4x" value="1"/>
-    <value name="16x" value="2"/>
     <value name="all samples" value="3"/>
   </enum>
 
 
   <packet code="56" name="Primitive List Format">
     <field name="tri strip or fan" size="1" start="7" type="bool"/>
-    <field name="data type" size="1" start="6" type="uint">
-      <value name="List Indexed" value="0"/>
-      <value name="List 32-bit X/Y" value="1"/>
-    </field>
     <field name="primitive type" size="6" start="0" type="uint">
       <value name="List Points" value="0"/>
       <value name="List Lines" value="1"/>
   </packet>
 
   <packet code="84" name="Blend Config" max_ver="33">
-    <field name="VG Coverage Modes" size="2" start="28" type="uint"/>
     <field name="Colour blend dst factor" size="4" start="20" type="Blend Factor"/>
     <field name="Colour blend src factor" size="4" start="16" type="Blend Factor"/>
     <field name="Colour blend mode" size="4" start="12" type="Blend Mode"/>
   </packet>
 
   <packet code="84" name="Blend Config" min_ver="41">
-    <field name="VG Coverage Modes" size="2" start="28" type="uint"/>
     <field name="Render Target Mask" size="4" start="24" type="uint"/>
     <field name="Colour blend dst factor" size="4" start="20" type="Blend Factor"/>
     <field name="Colour blend src factor" size="4" start="16" type="Blend Factor"/>
     <field name="Z updates enable" size="1" start="15" type="bool"/>
     <field name="Depth-Test Function" size="3" start="12" type="Compare Function"/>
     <field name="Direct3D Wireframe triangles mode" size="1" start="11" type="bool"/>
-    <field name="Coverage Update Mode" size="2" start="9" type="uint"/>
-    <field name="Coverage Pipe Select" size="1" start="8" type="bool"/>
     <field name="Rasterizer Oversample Mode" size="2" start="6" type="uint"/>
     <field name="Line Rasterization" size="2" start="4" type="uint"/>
     <field name="Enable Depth Offset" size="1" start="3" type="bool"/>
       <value name="Early-Z direction GT/GE" value="1"/>
     </field>
 
-    <field name="Select Coverage Mode" size="1" start="44" type="bool"/>
     <field name="Double-buffer in non-ms mode" size="1" start="43" type="bool"/>
     <field name="Multisample Mode (4x)" size="1" start="42" type="bool"/>
 
       <value name="Early-Z direction GT/GE" value="1"/>
     </field>
 
-    <field name="Select Coverage Mode" size="1" start="44" type="bool"/>
     <field name="Double-buffer in non-ms mode" size="1" start="43" type="bool"/>
     <field name="Multisample Mode (4x)" size="1" start="42" type="bool"/>
 
 
     <field name="Z Clear Value" size="32" start="16" type="float"/>
 
-    <field name="Stencil/VG Mask Clear Value" size="8" start="8" type="uint"/>
+    <field name="Stencil Clear Value" size="8" start="8" type="uint"/>
     <field name="sub-id" size="4" start="0" type="uint" default="3"/>
   </packet>
 
 
     <field name="Z Clear Value" size="32" start="16" type="float"/>
 
-    <field name="Stencil/VG Mask Clear Value" size="8" start="8" type="uint"/>
+    <field name="Stencil Clear Value" size="8" start="8" type="uint"/>
     <field name="sub-id" size="4" start="0" type="uint" default="2"/>
   </packet>
 
index b8200a4..d795591 100644 (file)
@@ -418,7 +418,6 @@ v3d_rcl_emit_generic_per_tile_list(struct v3d_job *job, int last_cbuf)
          * is triangles, so make sure that's the case.
          */
         cl_emit(cl, PRIMITIVE_LIST_FORMAT, fmt) {
-                fmt.data_type = LIST_INDEXED;
                 fmt.primitive_type = LIST_TRIANGLES;
         }
 
@@ -663,7 +662,7 @@ v3dX(emit_rcl)(struct v3d_job *job)
         cl_emit(&job->rcl, TILE_RENDERING_MODE_CONFIGURATION_Z_STENCIL_CLEAR_VALUES,
                 clear) {
                 clear.z_clear_value = job->clear_z;
-                clear.stencil_vg_mask_clear_value = job->clear_s;
+                clear.stencil_clear_value = job->clear_s;
         };
 
         /* Always set initial block size before the first branch, which needs