v3d: Add missing "number of bin tile lists" field.
authorEric Anholt <eric@anholt.net>
Wed, 27 Jun 2018 22:55:32 +0000 (15:55 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 29 Jun 2018 20:36:28 +0000 (13:36 -0700)
Noticed when trying to feed our dumps through the CLIF parser.  Since this
is a "minus one" field, we were already filling in the value we wanted (0).

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

index 9ffc07b9845fbbd9ef3482948164c40d37a97fbd..0c103f621fe756c17e87c637892b9dca29b6e3e1 100644 (file)
   </packet>
 
   <packet code="122" name="Multicore Rendering Supertile Configuration" cl="R">
+    <field name="Number of Bin Tile Lists" size="3" start="61" type="uint" minus_one="true"/>
     <field name="Supertile Raster Order" size="1" start="60" type="bool"/>
     <field name="Multicore Enable" size="1" start="56" type="bool"/>
 
index 549ad1a456e80067b6828e8c078aebcdc05d73aa..e8e3dac714ee24bd624f1569734eeee1884cf93e 100644 (file)
@@ -705,6 +705,7 @@ v3dX(emit_rcl)(struct v3d_job *job)
                                 supertile_h++;
                 }
 
+                config.number_of_bin_tile_lists = 1;
                 config.total_frame_width_in_tiles = job->draw_tiles_x;
                 config.total_frame_height_in_tiles = job->draw_tiles_y;