summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2018-06-27 15:55:32 -0700
committerEric Anholt <[email protected]>2018-06-29 13:36:28 -0700
commit24d2f1347da62c12af9db81735977d0922dc75d0 (patch)
treeafd437f2ff3d6b986834c250fc1fb5b384604dc4
parentb65b61cefe012e8bb2a0c7ab7ee41004b5f45da9 (diff)
v3d: Add missing "number of bin tile lists" field.
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).
-rw-r--r--src/broadcom/cle/v3d_packet_v33.xml1
-rw-r--r--src/gallium/drivers/v3d/v3dx_rcl.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/broadcom/cle/v3d_packet_v33.xml b/src/broadcom/cle/v3d_packet_v33.xml
index 9ffc07b9845..0c103f621fe 100644
--- a/src/broadcom/cle/v3d_packet_v33.xml
+++ b/src/broadcom/cle/v3d_packet_v33.xml
@@ -977,6 +977,7 @@
</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"/>
diff --git a/src/gallium/drivers/v3d/v3dx_rcl.c b/src/gallium/drivers/v3d/v3dx_rcl.c
index 549ad1a456e..e8e3dac714e 100644
--- a/src/gallium/drivers/v3d/v3dx_rcl.c
+++ b/src/gallium/drivers/v3d/v3dx_rcl.c
@@ -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;