freedreno/rnn: add variants/varset to domain
authorRob Clark <robdclark@chromium.org>
Tue, 28 Jul 2020 17:03:06 +0000 (10:03 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 29 Jul 2020 14:30:35 +0000 (14:30 +0000)
We have already been using this to describe pm4 packets that are
specific to certain generations.

Maybe we should introduce a new "packet" element type instead.  But
first lets just get validation working with what we already use.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6107>

src/freedreno/registers/rules-ng.xsd

index ad94f64cbe053d3f9f2171ca3dbb4d1a456a396c..2f511e0da1c4df1b097e7395a878f7652e2fb670 100644 (file)
@@ -84,6 +84,8 @@
                <attribute name="prefix" type="NMTOKENS" use="optional" />\r
                <attribute name="width" type="rng:DomainWidth" use="optional" />\r
                <attribute name="size" type="rng:HexOrNumber" use="optional" />\r
+               <attribute name="varset" type="NMTOKEN" use="optional" />\r
+               <attribute name="variants" type="string" use="optional" />\r
        </complexType>\r
 \r
        <complexType name="groupType">\r