Introduction of VegaM
PATCH 1/1 Introduction of VegaM
Signed-off-by Tom St Denis <[email protected]>
--- src/lib/asic/CMakeLists.txt | 1 + src/lib/asic/vegam.c | 40 ++++++++++++++++++++++++++++++++++++++++ src/lib/discover_by_did.c | 2 ++ src/lib/discover_by_name.c | 1 + src/umr.h | 1 + 5 files changed, 45 insertions(+) create mode 100644 src/lib/asic/vegam.c
src/lib/asic/CMakeLists.txt +1 -0
@@ -22,5 +22,6 @@ add_library(asic OBJECT topaz.c vega10.c vega12.c + vegam.c verde.c )
src/lib/asic/vegam.c new file +40 -0
@@ -0,0 +1,40 @@ +/* +* Copyright 2018 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 <[email protected]> +* +*/ +#include "umr.h" + +struct umr_asic *umr_create_vegam (struct umr_options *options) +{ +return +umr_create_asic_helper ("vegam" ,FAMILY_VI , +umr_create_uvd6 (options), +umr_create_vce3 (options), +umr_create_gmc81 (options), +umr_create_dce112 (options), +umr_create_gfx80 (options), +umr_create_smu713 (options), +umr_create_oss30 (options), +umr_create_bif51 (options), +NULL ); +}
src/lib/discover_by_did.c +2 -0
@@ -172,6 +172,8 @@ static const struct { { 0x6930, &umr_create_tonga }, { 0x6938, &umr_create_tonga }, { 0x6939, &umr_create_tonga }, + { 0x694C, &umr_create_vegam }, + { 0x694E, &umr_create_vegam }, { 0x6980, &umr_create_polaris12 }, { 0x6981, &umr_create_polaris12 }, { 0x6985, &umr_create_polaris12 },
src/lib/discover_by_name.c +1 -0
@@ -48,6 +48,7 @@ static const struct { { "stoney", &umr_create_stoney }, { "vega10", &umr_create_vega10 }, { "vega12", &umr_create_vega12 }, + { "vegam", &umr_create_vegam }, { "raven1", &umr_create_raven1 }, };
src/umr.h +1 -0
@@ -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_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