Skip to contentSkip to conversation

Introduction of Vega20.

PATCH New Tom St Denis 1 participant 1 message May 16, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Introduction of Vega20.

---
 scripts/soc15_asic.sh       |   3 +-
 src/lib/asic/CMakeLists.txt |   1 +
 src/lib/asic/vega20.c       |  51 ++++++++++++
 src/lib/asic/vega20.i       | 189 ++++++++++++++++++++++++++++++++++++++++++++
 src/lib/discover_by_did.c   |   6 ++
 src/lib/discover_by_name.c  |   1 +
 src/umr.h                   |   1 +
 7 files changed, 251 insertions(+), 1 deletion(-)
 create mode 100644 src/lib/asic/vega20.c
 create mode 100644 src/lib/asic/vega20.i
scripts/soc15_asic.sh +2 -1
index 7b9e59dbc52a..3f41db8e3fc4 100644
@@ -48,4 +48,5 @@ parse_offsets() {
 	)
 }
 
-parse_offsets ${pk}/soc15ip.h src/lib/asic/vega10.i
+parse_offsets ${pk}/vega10_ip_offset.h src/lib/asic/vega10.i
+parse_offsets ${pk}/vega20_ip_offset.h src/lib/asic/vega20.i
src/lib/asic/CMakeLists.txt +1 -0
index 38cf9468396f..eb3c9e54d535 100644
@@ -22,6 +22,7 @@ add_library(asic OBJECT
   topaz.c
   vega10.c
   vega12.c
+  vega20.c
   vegam.c
   verde.c
 )
src/lib/asic/vega20.c new file +51 -0

51 lines not on this page · raw message

src/lib/asic/vega20.i new file +189 -0

189 lines not on this page · raw message

src/lib/discover_by_did.c +6 -0
index b900bfaed160..2a4727977408 100644
@@ -76,6 +76,12 @@ static const struct {
 	{ 0x6665, &umr_create_hainan },
 	{ 0x6667, &umr_create_hainan },
 	{ 0x666F, &umr_create_hainan },
+	{ 0x66A0, &umr_create_vega20 },
+	{ 0x66A1, &umr_create_vega20 },
+	{ 0x66A2, &umr_create_vega20 },
+	{ 0x66A3, &umr_create_vega20 },
+	{ 0x66A7, &umr_create_vega20 },
+	{ 0x66AF, &umr_create_vega20 },
 	{ 0x6780, &umr_create_tahiti },
 	{ 0x6784, &umr_create_tahiti },
 	{ 0x6788, &umr_create_tahiti },
src/lib/discover_by_name.c +1 -0
index deb95dff4fb6..59ac62d718c2 100644
@@ -48,6 +48,7 @@ static const struct {
 	{ "stoney", &umr_create_stoney },
 	{ "vega10", &umr_create_vega10 },
 	{ "vega12", &umr_create_vega12 },
+	{ "vega20", &umr_create_vega20 },
 	{ "vegam", &umr_create_vegam },
 	{ "raven1", &umr_create_raven1 },
 };
src/umr.h +1 -0
index 290824b271f1..4c9f95e1b87b 100644
@@ -553,6 +553,7 @@ struct umr_asic *umr_create_tonga(struct umr_options *options);
 struct umr_asic *umr_create_topaz(struct umr_options *options);
 struct umr_asic *umr_create_vega10(struct umr_options *options);
 struct umr_asic *umr_create_vega12(struct umr_options *options);
+struct umr_asic *umr_create_vega20(struct umr_options *options);
 struct umr_asic *umr_create_vegam(struct umr_options *options);
 struct umr_asic *umr_create_verde(struct umr_options *options);
 
Signature · 6 lines
2.14.3

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx