1 /* $NetBSD: amd_asic_type.h,v 1.2 2021/12/18 23:45:45 riastradh Exp $ */ 2 3 /* 4 * Copyright 2017 Advanced Micro Devices, Inc. 5 * 6 * Permission is hereby granted, free of charge, to any person obtaining a 7 * copy of this software and associated documentation files (the "Software"), 8 * to deal in the Software without restriction, including without limitation 9 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 10 * and/or sell copies of the Software, and to permit persons to whom the 11 * Software is furnished to do so, subject to the following conditions: 12 * 13 * The above copyright notice and this permission notice shall be included in 14 * all copies or substantial portions of the Software. 15 * 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 19 * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR 20 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 21 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 * OTHER DEALINGS IN THE SOFTWARE. 23 */ 24 25 #ifndef __AMD_ASIC_TYPE_H__ 26 #define __AMD_ASIC_TYPE_H__ 27 /* 28 * Supported ASIC types 29 */ 30 enum amd_asic_type { 31 CHIP_TAHITI = 0, 32 CHIP_PITCAIRN, /* 1 */ 33 CHIP_VERDE, /* 2 */ 34 CHIP_OLAND, /* 3 */ 35 CHIP_HAINAN, /* 4 */ 36 CHIP_BONAIRE, /* 5 */ 37 CHIP_KAVERI, /* 6 */ 38 CHIP_KABINI, /* 7 */ 39 CHIP_HAWAII, /* 8 */ 40 CHIP_MULLINS, /* 9 */ 41 CHIP_TOPAZ, /* 10 */ 42 CHIP_TONGA, /* 11 */ 43 CHIP_FIJI, /* 12 */ 44 CHIP_CARRIZO, /* 13 */ 45 CHIP_STONEY, /* 14 */ 46 CHIP_POLARIS10, /* 15 */ 47 CHIP_POLARIS11, /* 16 */ 48 CHIP_POLARIS12, /* 17 */ 49 CHIP_VEGAM, /* 18 */ 50 CHIP_VEGA10, /* 19 */ 51 CHIP_VEGA12, /* 20 */ 52 CHIP_VEGA20, /* 21 */ 53 CHIP_RAVEN, /* 22 */ 54 CHIP_ARCTURUS, /* 23 */ 55 CHIP_RENOIR, /* 24 */ 56 CHIP_NAVI10, /* 25 */ 57 CHIP_NAVI14, /* 26 */ 58 CHIP_NAVI12, /* 27 */ 59 CHIP_LAST, 60 }; 61 62 extern const char *amdgpu_asic_name[]; 63 64 #endif /*__AMD_ASIC_TYPE_H__ */ 65