[Mesa-dev] [PATCH 2/7] ac/registers: use better names for disambiguated definitions

Marek Olšák maraeo at gmail.com
Thu Jun 13 00:40:36 UTC 2019


From: Marek Olšák <marek.olsak at amd.com>

---
 src/amd/registers/makeregheader.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/amd/registers/makeregheader.py b/src/amd/registers/makeregheader.py
index 859a59b9f3e..1d73cb47bdf 100644
--- a/src/amd/registers/makeregheader.py
+++ b/src/amd/registers/makeregheader.py
@@ -37,24 +37,24 @@ import re
 import sys
 
 from regdb import Object, RegisterDatabase, deduplicate_enums, deduplicate_register_types
 
 
 ######### BEGIN HARDCODED CONFIGURATION
 
 # Chips are sorted chronologically
 CHIPS = [
     Object(name='gfx6', disambiguation='GFX6'),
-    Object(name='gfx7', disambiguation='GFX6'),
-    Object(name='gfx8', disambiguation='GFX6'),
-    Object(name='fiji', disambiguation='GFX6'),
-    Object(name='stoney', disambiguation='GFX6'),
+    Object(name='gfx7', disambiguation='GFX7'),
+    Object(name='gfx8', disambiguation='GFX8'),
+    Object(name='fiji', disambiguation='GFX8'),
+    Object(name='stoney', disambiguation='GFX8'),
     Object(name='gfx9', disambiguation='GFX9'),
 ]
 
 ######### END HARDCODED CONFIGURATION
 
 def get_chip_index(chip):
     """
     Given a chip name, return its index in the global CHIPS list.
     """
     return next(idx for idx, obj in enumerate(CHIPS) if obj.name == chip)
-- 
2.17.1



More information about the mesa-dev mailing list