amd: add support for Arcturus
[mesa.git] / src / amd / common / amd_family.h
1 /*
2 * Copyright 2008 Corbin Simpson <MostAwesomeDude@gmail.com>
3 * Copyright 2010 Marek Olšák <maraeo@gmail.com>
4 *
5 * Permission is hereby granted, free of charge, to any person obtaining a
6 * copy of this software and associated documentation files (the "Software"),
7 * to deal in the Software without restriction, including without limitation
8 * on the rights to use, copy, modify, merge, publish, distribute, sub
9 * license, and/or sell copies of the Software, and to permit persons to whom
10 * the Software is furnished to do so, subject to the following conditions:
11 *
12 * The above copyright notice and this permission notice (including the next
13 * paragraph) shall be included in all copies or substantial portions of the
14 * 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 NON-INFRINGEMENT. IN NO EVENT SHALL
19 * THE AUTHOR(S) AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM,
20 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
21 * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
22 * USE OR OTHER DEALINGS IN THE SOFTWARE. */
23
24 #ifndef AMD_FAMILY_H
25 #define AMD_FAMILY_H
26
27 enum radeon_family {
28 CHIP_UNKNOWN = 0,
29 CHIP_R300, /* R3xx-based cores. (GFX2) */
30 CHIP_R350,
31 CHIP_RV350,
32 CHIP_RV370,
33 CHIP_RV380,
34 CHIP_RS400,
35 CHIP_RC410,
36 CHIP_RS480,
37 CHIP_R420, /* R4xx-based cores. (GFX2) */
38 CHIP_R423,
39 CHIP_R430,
40 CHIP_R480,
41 CHIP_R481,
42 CHIP_RV410,
43 CHIP_RS600,
44 CHIP_RS690,
45 CHIP_RS740,
46 CHIP_RV515, /* R5xx-based cores. (GFX2) */
47 CHIP_R520,
48 CHIP_RV530,
49 CHIP_R580,
50 CHIP_RV560,
51 CHIP_RV570,
52 CHIP_R600, /* GFX3 (R6xx) */
53 CHIP_RV610,
54 CHIP_RV630,
55 CHIP_RV670,
56 CHIP_RV620,
57 CHIP_RV635,
58 CHIP_RS780,
59 CHIP_RS880,
60 CHIP_RV770, /* GFX3 (R7xx) */
61 CHIP_RV730,
62 CHIP_RV710,
63 CHIP_RV740,
64 CHIP_CEDAR, /* GFX4 (Evergreen) */
65 CHIP_REDWOOD,
66 CHIP_JUNIPER,
67 CHIP_CYPRESS,
68 CHIP_HEMLOCK,
69 CHIP_PALM,
70 CHIP_SUMO,
71 CHIP_SUMO2,
72 CHIP_BARTS,
73 CHIP_TURKS,
74 CHIP_CAICOS,
75 CHIP_CAYMAN, /* GFX5 (Northern Islands) */
76 CHIP_ARUBA,
77 CHIP_TAHITI, /* GFX6 (Southern Islands) */
78 CHIP_PITCAIRN,
79 CHIP_VERDE,
80 CHIP_OLAND,
81 CHIP_HAINAN,
82 CHIP_BONAIRE, /* GFX7 (Sea Islands) */
83 CHIP_KAVERI,
84 CHIP_KABINI,
85 CHIP_HAWAII,
86 CHIP_TONGA, /* GFX8 (Volcanic Islands & Polaris) */
87 CHIP_ICELAND,
88 CHIP_CARRIZO,
89 CHIP_FIJI,
90 CHIP_STONEY,
91 CHIP_POLARIS10,
92 CHIP_POLARIS11,
93 CHIP_POLARIS12,
94 CHIP_VEGAM,
95 CHIP_VEGA10, /* GFX9 (Vega) */
96 CHIP_VEGA12,
97 CHIP_VEGA20,
98 CHIP_RAVEN,
99 CHIP_RAVEN2,
100 CHIP_ARCTURUS,
101 CHIP_NAVI10,
102 CHIP_NAVI12,
103 CHIP_NAVI14,
104 CHIP_LAST,
105 };
106
107 enum chip_class {
108 CLASS_UNKNOWN = 0,
109 R300,
110 R400,
111 R500,
112 R600,
113 R700,
114 EVERGREEN,
115 CAYMAN,
116 GFX6,
117 GFX7,
118 GFX8,
119 GFX9,
120 GFX10,
121 };
122
123 #endif