summaryrefslogtreecommitdiffstats
path: root/src/broadcom
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2017-10-05 15:50:59 -0700
committerEric Anholt <[email protected]>2017-10-10 11:42:06 -0700
commitae9a56db6a73c6a5dfc237e30fdf8ad0186b884b (patch)
tree8d2651e70b47dae8d5630a4661614d76661a9b66 /src/broadcom
parentc0561808c0442a10a47707cfc9f002e195316552 (diff)
braodcom/vc5: Set up clear color for higher-bpp formats.
Fixes arb_color_buffer_float-clear
Diffstat (limited to 'src/broadcom')
-rw-r--r--src/broadcom/cle/v3d_packet_v33.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/broadcom/cle/v3d_packet_v33.xml b/src/broadcom/cle/v3d_packet_v33.xml
index 2487daea503..8f7966439c1 100644
--- a/src/broadcom/cle/v3d_packet_v33.xml
+++ b/src/broadcom/cle/v3d_packet_v33.xml
@@ -580,6 +580,26 @@
<field name="sub-id" size="4" start="0" type="uint" default="4"/>
</packet>
+ <packet code="121" name="Tile Rendering Mode Configuration (Clear Colors Part2)" cl="R">
+ <!-- Express this as a 56-bit field? -->
+ <field name="Clear Color mid-high 24 bits" size="24" start="40" type="uint"/>
+ <field name="Clear Color mid-low 32 bits" size="32" start="8" type="uint"/>
+
+ <field name="Render Target number" size="4" start="4" type="uint"/>
+ <field name="sub-id" size="4" start="0" type="uint" default="5"/>
+ </packet>
+
+ <packet code="121" name="Tile Rendering Mode Configuration (Clear Colors Part3)" cl="R">
+ <field name="pad" size="11" start="53" type="uint"/>
+ <field name="UIF padded height in UIF blocks" size="13" start="40" type="uint"/>
+ <!-- image height is for Y flipping -->
+ <field name="Raster Row Stride or Image Height in Pixels" size="16" start="24" type="uint"/>
+ <field name="Clear Color high 16 bits" size="16" start="8" type="uint"/>
+
+ <field name="Render Target number" size="4" start="4" type="uint"/>
+ <field name="sub-id" size="4" start="0" type="uint" default="6"/>
+ </packet>
+
<packet code="124" name="Tile Coordinates">
<field name="tile row number" size="12" start="12" type="uint"/>
<field name="tile column number" size="12" start="0" type="uint"/>