Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * Copyright 2017 Advanced Micro Devices, Inc.
0003  *
0004  * Permission is hereby granted, free of charge, to any person obtaining a
0005  * copy of this software and associated documentation files (the "Software"),
0006  * to deal in the Software without restriction, including without limitation
0007  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
0008  * and/or sell copies of the Software, and to permit persons to whom the
0009  * Software is furnished to do so, subject to the following conditions:
0010  *
0011  * The above copyright notice and this permission notice shall be included in
0012  * all copies or substantial portions of the Software.
0013  *
0014  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
0015  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
0016  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
0017  * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
0018  * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
0019  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
0020  * OTHER DEALINGS IN THE SOFTWARE.
0021  */
0022 
0023 #ifndef __AMD_ASIC_TYPE_H__
0024 #define __AMD_ASIC_TYPE_H__
0025 /*
0026  * Supported ASIC types
0027  */
0028 enum amd_asic_type {
0029     CHIP_TAHITI = 0,
0030     CHIP_PITCAIRN,  /* 1 */
0031     CHIP_VERDE, /* 2 */
0032     CHIP_OLAND, /* 3 */
0033     CHIP_HAINAN,    /* 4 */
0034     CHIP_BONAIRE,   /* 5 */
0035     CHIP_KAVERI,    /* 6 */
0036     CHIP_KABINI,    /* 7 */
0037     CHIP_HAWAII,    /* 8 */
0038     CHIP_MULLINS,   /* 9 */
0039     CHIP_TOPAZ, /* 10 */
0040     CHIP_TONGA, /* 11 */
0041     CHIP_FIJI,  /* 12 */
0042     CHIP_CARRIZO,   /* 13 */
0043     CHIP_STONEY,    /* 14 */
0044     CHIP_POLARIS10, /* 15 */
0045     CHIP_POLARIS11, /* 16 */
0046     CHIP_POLARIS12, /* 17 */
0047     CHIP_VEGAM, /* 18 */
0048     CHIP_VEGA10,    /* 19 */
0049     CHIP_VEGA12,    /* 20 */
0050     CHIP_VEGA20,    /* 21 */
0051     CHIP_RAVEN, /* 22 */
0052     CHIP_ARCTURUS,  /* 23 */
0053     CHIP_RENOIR,    /* 24 */
0054     CHIP_ALDEBARAN, /* 25 */
0055     CHIP_NAVI10,    /* 26 */
0056     CHIP_CYAN_SKILLFISH,    /* 27 */
0057     CHIP_NAVI14,    /* 28 */
0058     CHIP_NAVI12,    /* 29 */
0059     CHIP_SIENNA_CICHLID,    /* 30 */
0060     CHIP_NAVY_FLOUNDER, /* 31 */
0061     CHIP_VANGOGH,   /* 32 */
0062     CHIP_DIMGREY_CAVEFISH,  /* 33 */
0063     CHIP_BEIGE_GOBY,    /* 34 */
0064     CHIP_YELLOW_CARP,   /* 35 */
0065     CHIP_IP_DISCOVERY,  /* 36 */
0066     CHIP_LAST,
0067 };
0068 
0069 extern const char *amdgpu_asic_name[];
0070 
0071 #endif /*__AMD_ASIC_TYPE_H__ */