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