diff options
author | Eric Anholt <[email protected]> | 2017-12-27 16:43:10 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2018-01-03 14:25:23 -0800 |
commit | 48cabc1e751bf537f4fdb2721d7a7492c8e401a1 (patch) | |
tree | c6fbe356e5d9855b165e5f3fa9a79c736616e41a | |
parent | 17cb634b1c712f8a926a684d96d5c49d3a9dccb9 (diff) |
broadcom/vc5: Turn the decimate mode field into an enum in the XML.
-rw-r--r-- | src/broadcom/cle/v3d_packet_v33.xml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/broadcom/cle/v3d_packet_v33.xml b/src/broadcom/cle/v3d_packet_v33.xml index e3c35de68b4..6049d7359b3 100644 --- a/src/broadcom/cle/v3d_packet_v33.xml +++ b/src/broadcom/cle/v3d_packet_v33.xml @@ -107,6 +107,13 @@ <value name="UIF (XOR)" value="5"/> </enum> + <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> + <enum name="Output Image Format" prefix="V3D_OUTPUT_IMAGE_FORMAT"> <!-- Formats appear with their channels named from the low bits to @@ -551,7 +558,7 @@ <field name="Output image format" size="6" start="16" type="Output Image Format"/> - <field name="Decimate mode" size="2" start="14" type="uint"/> + <field name="Decimate mode" size="2" start="14" type="Decimate Mode"/> <field name="Internal Type" size="4" start="10" type="uint" prefix="Internal Type"> <value name="8i" value="0"/> |