freedreno/rnn: fix use-group
The schema describes the attribute as "ref" rather than "name". Which makes more sense. Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6107>
This commit is contained in:
@@ -210,7 +210,7 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
|
||||
<reg32 offset="0x0200" name="CSC_CONFIG"/>
|
||||
|
||||
<array offset="0x2000" name="CSC" length="1" stride="0x700">
|
||||
<use-group name="mdp4_csc"/>
|
||||
<use-group ref="mdp4_csc"/>
|
||||
</array>
|
||||
</array>
|
||||
|
||||
@@ -265,7 +265,7 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
|
||||
|
||||
<reg32 offset="0x1004" name="FETCH_CONFIG"/>
|
||||
<array offset="0x3000" name="CSC" length="1" stride="0x700">
|
||||
<use-group name="mdp4_csc"/>
|
||||
<use-group ref="mdp4_csc"/>
|
||||
</array>
|
||||
</array>
|
||||
|
||||
@@ -331,7 +331,7 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
|
||||
<reg32 offset="0x1008" name="SOLID_COLOR"/>
|
||||
|
||||
<array offset="0x4000" name="CSC" length="1" stride="0x700">
|
||||
<use-group name="mdp4_csc"/>
|
||||
<use-group ref="mdp4_csc"/>
|
||||
</array>
|
||||
</array>
|
||||
|
||||
|
@@ -467,7 +467,7 @@ static struct rnndelem *trydelem(struct rnndb *db, char *file, xmlNode *node) {
|
||||
res->type = RNN_ETYPE_USE_GROUP;
|
||||
xmlAttr *attr = node->properties;
|
||||
while (attr) {
|
||||
if (!strcmp(attr->name, "name")) {
|
||||
if (!strcmp(attr->name, "ref")) {
|
||||
res->name = strdup(getattrib(db, file, node->line, attr));
|
||||
} else {
|
||||
rnn_err(db, "%s:%d: wrong attribute \"%s\" for %s\n", file, node->line, attr->name, node->name);
|
||||
|
Reference in New Issue
Block a user