amd_family.h revision 01e04c3f
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
27enum radeon_family {
28    CHIP_UNKNOWN = 0,
29    CHIP_R300, /* R3xx-based cores. */
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. */
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. */
47    CHIP_R520,
48    CHIP_RV530,
49    CHIP_R580,
50    CHIP_RV560,
51    CHIP_RV570,
52    CHIP_R600,
53    CHIP_RV610,
54    CHIP_RV630,
55    CHIP_RV670,
56    CHIP_RV620,
57    CHIP_RV635,
58    CHIP_RS780,
59    CHIP_RS880,
60    CHIP_RV770,
61    CHIP_RV730,
62    CHIP_RV710,
63    CHIP_RV740,
64    CHIP_CEDAR,
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,
76    CHIP_ARUBA,
77    CHIP_TAHITI,
78    CHIP_PITCAIRN,
79    CHIP_VERDE,
80    CHIP_OLAND,
81    CHIP_HAINAN,
82    CHIP_BONAIRE,
83    CHIP_KAVERI,
84    CHIP_KABINI,
85    CHIP_HAWAII,
86    CHIP_MULLINS,
87    CHIP_TONGA,
88    CHIP_ICELAND,
89    CHIP_CARRIZO,
90    CHIP_FIJI,
91    CHIP_STONEY,
92    CHIP_POLARIS10,
93    CHIP_POLARIS11,
94    CHIP_POLARIS12,
95    CHIP_VEGAM,
96    CHIP_VEGA10,
97    CHIP_VEGA12,
98    CHIP_VEGA20,
99    CHIP_RAVEN,
100    CHIP_RAVEN2,
101    CHIP_LAST,
102};
103
104enum chip_class {
105    CLASS_UNKNOWN = 0,
106    R300,
107    R400,
108    R500,
109    R600,
110    R700,
111    EVERGREEN,
112    CAYMAN,
113    SI,  /* GFX6 */
114    CIK, /* GFX7 */
115    VI,  /* GFX8 */
116    GFX9,
117};
118
119#endif
120