XenevaOS
Loading...
Searching...
No Matches
amd_asic_type.h
Go to the documentation of this file.
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#include <linux/types.h>
27
28/*
29 * Supported ASIC types
30 */
34 CHIP_VERDE, /* 2 */
35 CHIP_OLAND, /* 3 */
36 CHIP_HAINAN, /* 4 */
37 CHIP_BONAIRE, /* 5 */
38 CHIP_KAVERI, /* 6 */
39 CHIP_KABINI, /* 7 */
40 CHIP_HAWAII, /* 8 */
41 CHIP_MULLINS, /* 9 */
42 CHIP_TOPAZ, /* 10 */
43 CHIP_TONGA, /* 11 */
44 CHIP_FIJI, /* 12 */
45 CHIP_CARRIZO, /* 13 */
46 CHIP_STONEY, /* 14 */
50 CHIP_VEGAM, /* 18 */
51 CHIP_VEGA10, /* 19 */
52 CHIP_VEGA12, /* 20 */
53 CHIP_VEGA20, /* 21 */
54 CHIP_RAVEN, /* 22 */
55 CHIP_ARCTURUS, /* 23 */
56 CHIP_RENOIR, /* 24 */
58 CHIP_NAVI10, /* 26 */
60 CHIP_NAVI14, /* 28 */
61 CHIP_NAVI12, /* 29 */
64 CHIP_VANGOGH, /* 32 */
70};
71
72extern const char *amdgpu_asic_name[];
73
75 unsigned short device; /* PCI device ID */
76 u8 revision; /* revision ID */
77 unsigned short type; /* real ASIC type */
78};
79#endif /*__AMD_ASIC_TYPE_H__ */
amd_asic_type
Definition amd_asic_type.h:31
@ CHIP_BONAIRE
Definition amd_asic_type.h:37
@ CHIP_TAHITI
Definition amd_asic_type.h:32
@ CHIP_VERDE
Definition amd_asic_type.h:34
@ CHIP_NAVI10
Definition amd_asic_type.h:58
@ CHIP_NAVI14
Definition amd_asic_type.h:60
@ CHIP_HAWAII
Definition amd_asic_type.h:40
@ CHIP_PITCAIRN
Definition amd_asic_type.h:33
@ CHIP_VANGOGH
Definition amd_asic_type.h:64
@ CHIP_IP_DISCOVERY
Definition amd_asic_type.h:68
@ CHIP_LAST
Definition amd_asic_type.h:69
@ CHIP_VEGAM
Definition amd_asic_type.h:50
@ CHIP_BEIGE_GOBY
Definition amd_asic_type.h:66
@ CHIP_FIJI
Definition amd_asic_type.h:44
@ CHIP_KABINI
Definition amd_asic_type.h:39
@ CHIP_DIMGREY_CAVEFISH
Definition amd_asic_type.h:65
@ CHIP_NAVI12
Definition amd_asic_type.h:61
@ CHIP_POLARIS10
Definition amd_asic_type.h:47
@ CHIP_TOPAZ
Definition amd_asic_type.h:42
@ CHIP_VEGA10
Definition amd_asic_type.h:51
@ CHIP_HAINAN
Definition amd_asic_type.h:36
@ CHIP_ARCTURUS
Definition amd_asic_type.h:55
@ CHIP_STONEY
Definition amd_asic_type.h:46
@ CHIP_POLARIS12
Definition amd_asic_type.h:49
@ CHIP_ALDEBARAN
Definition amd_asic_type.h:57
@ CHIP_VEGA12
Definition amd_asic_type.h:52
@ CHIP_NAVY_FLOUNDER
Definition amd_asic_type.h:63
@ CHIP_KAVERI
Definition amd_asic_type.h:38
@ CHIP_YELLOW_CARP
Definition amd_asic_type.h:67
@ CHIP_MULLINS
Definition amd_asic_type.h:41
@ CHIP_RENOIR
Definition amd_asic_type.h:56
@ CHIP_TONGA
Definition amd_asic_type.h:43
@ CHIP_CARRIZO
Definition amd_asic_type.h:45
@ CHIP_VEGA20
Definition amd_asic_type.h:53
@ CHIP_CYAN_SKILLFISH
Definition amd_asic_type.h:59
@ CHIP_POLARIS11
Definition amd_asic_type.h:48
@ CHIP_SIENNA_CICHLID
Definition amd_asic_type.h:62
@ CHIP_RAVEN
Definition amd_asic_type.h:54
@ CHIP_OLAND
Definition amd_asic_type.h:35
const char * amdgpu_asic_name[]
uint8_t u8
Definition kernel.h:14
Definition amd_asic_type.h:74
unsigned short device
Definition amd_asic_type.h:75
u8 revision
Definition amd_asic_type.h:76
unsigned short type
Definition amd_asic_type.h:77