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