summaryrefslogtreecommitdiff
path: root/src/lib/asic/tonga.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/asic/tonga.c')
-rw-r--r--src/lib/asic/tonga.c40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/lib/asic/tonga.c b/src/lib/asic/tonga.c
new file mode 100644
index 0000000..d1b255f
--- /dev/null
+++ b/src/lib/asic/tonga.c
@@ -0,0 +1,40 @@
+/*
+ * Copyright 2017 Advanced Micro Devices, Inc.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
+ * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+ * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ * OTHER DEALINGS IN THE SOFTWARE.
+ *
+ * Authors: Tom St Denis <tom.stdenis@amd.com>
+ *
+ */
+#include "umr.h"
+
+struct umr_asic *umr_create_tonga(struct umr_options *options)
+{
+ return
+ umr_create_asic_helper("tonga", FAMILY_VI,
+ umr_create_uvd5(options),
+ umr_create_vce3(options),
+ umr_create_gmc81(options),
+ umr_create_dce100(options),
+ umr_create_gfx80(options),
+ umr_create_smu712(options),
+ umr_create_oss30(options),
+ umr_create_bif50(options),
+ NULL);
+}