freedreno/register: Define chip enum values
authorDanylo Piliaiev <dpiliaiev@igalia.com>
Fri, 3 Mar 2023 13:10:19 +0000 (14:10 +0100)
committerMarge Bot <emma+marge@anholt.net>
Mon, 13 Mar 2023 17:31:24 +0000 (17:31 +0000)
Otherwise it cannot be used in templates

Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21846>

src/freedreno/registers/adreno/adreno_common.xml

index 677896a..a86db34 100644 (file)
@@ -4,12 +4,12 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
 
 <enum name="chip" bare="yes">
-       <value name="A2XX"/>
-       <value name="A3XX"/>
-       <value name="A4XX"/>
-       <value name="A5XX"/>
-       <value name="A6XX"/>
-       <value name="A7XX"/>
+       <value name="A2XX" value="2"/>
+       <value name="A3XX" value="3"/>
+       <value name="A4XX" value="4"/>
+       <value name="A5XX" value="5"/>
+       <value name="A6XX" value="6"/>
+       <value name="A7XX" value="7"/>
 </enum>
 
 <enum name="adreno_pa_su_sc_draw">
@@ -397,4 +397,3 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
 </enum>
 
 </database>
-