mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-13 14:14:37 +00:00
d46b417a91
Add aldebaran in amdgpu_asic_name array and amdgpu_asic_type enum Signed-off-by: Le Ma <le.ma@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Acked-by: Evan Quan <evan.quan@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
67 lines
2.1 KiB
C
67 lines
2.1 KiB
C
/*
|
|
* Copyright 2017 Advanced Micro Devices, Inc.
|
|
*
|
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
|
* copy of this software and associated documentation files (the "Software"),
|
|
* to deal in the Software without restriction, including without limitation
|
|
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
* and/or sell copies of the Software, and to permit persons to whom the
|
|
* Software is furnished to do so, subject to the following conditions:
|
|
*
|
|
* The above copyright notice and this permission notice shall be included in
|
|
* all copies or substantial portions of the Software.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
* THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
|
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
|
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
* OTHER DEALINGS IN THE SOFTWARE.
|
|
*/
|
|
|
|
#ifndef __AMD_ASIC_TYPE_H__
|
|
#define __AMD_ASIC_TYPE_H__
|
|
/*
|
|
* Supported ASIC types
|
|
*/
|
|
enum amd_asic_type {
|
|
CHIP_TAHITI = 0,
|
|
CHIP_PITCAIRN, /* 1 */
|
|
CHIP_VERDE, /* 2 */
|
|
CHIP_OLAND, /* 3 */
|
|
CHIP_HAINAN, /* 4 */
|
|
CHIP_BONAIRE, /* 5 */
|
|
CHIP_KAVERI, /* 6 */
|
|
CHIP_KABINI, /* 7 */
|
|
CHIP_HAWAII, /* 8 */
|
|
CHIP_MULLINS, /* 9 */
|
|
CHIP_TOPAZ, /* 10 */
|
|
CHIP_TONGA, /* 11 */
|
|
CHIP_FIJI, /* 12 */
|
|
CHIP_CARRIZO, /* 13 */
|
|
CHIP_STONEY, /* 14 */
|
|
CHIP_POLARIS10, /* 15 */
|
|
CHIP_POLARIS11, /* 16 */
|
|
CHIP_POLARIS12, /* 17 */
|
|
CHIP_VEGAM, /* 18 */
|
|
CHIP_VEGA10, /* 19 */
|
|
CHIP_VEGA12, /* 20 */
|
|
CHIP_VEGA20, /* 21 */
|
|
CHIP_RAVEN, /* 22 */
|
|
CHIP_ARCTURUS, /* 23 */
|
|
CHIP_RENOIR, /* 24 */
|
|
CHIP_ALDEBARAN, /* 25 */
|
|
CHIP_NAVI10, /* 26 */
|
|
CHIP_NAVI14, /* 27 */
|
|
CHIP_NAVI12, /* 28 */
|
|
CHIP_SIENNA_CICHLID, /* 29 */
|
|
CHIP_NAVY_FLOUNDER, /* 30 */
|
|
CHIP_VANGOGH, /* 31 */
|
|
CHIP_DIMGREY_CAVEFISH, /* 32 */
|
|
CHIP_LAST,
|
|
};
|
|
|
|
extern const char *amdgpu_asic_name[];
|
|
|
|
#endif /*__AMD_ASIC_TYPE_H__ */
|