amd_asic_type.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. #ifndef __AMD_ASIC_TYPE_H__
  23. #define __AMD_ASIC_TYPE_H__
  24. /*
  25. * Supported ASIC types
  26. */
  27. enum amd_asic_type {
  28. CHIP_TAHITI = 0,
  29. CHIP_PITCAIRN, /* 1 */
  30. CHIP_VERDE, /* 2 */
  31. CHIP_OLAND, /* 3 */
  32. CHIP_HAINAN, /* 4 */
  33. CHIP_BONAIRE, /* 5 */
  34. CHIP_KAVERI, /* 6 */
  35. CHIP_KABINI, /* 7 */
  36. CHIP_HAWAII, /* 8 */
  37. CHIP_MULLINS, /* 9 */
  38. CHIP_TOPAZ, /* 10 */
  39. CHIP_TONGA, /* 11 */
  40. CHIP_FIJI, /* 12 */
  41. CHIP_CARRIZO, /* 13 */
  42. CHIP_STONEY, /* 14 */
  43. CHIP_POLARIS10, /* 15 */
  44. CHIP_POLARIS11, /* 16 */
  45. CHIP_POLARIS12, /* 17 */
  46. CHIP_VEGAM, /* 18 */
  47. CHIP_VEGA10, /* 19 */
  48. CHIP_VEGA12, /* 20 */
  49. CHIP_VEGA20, /* 21 */
  50. CHIP_RAVEN, /* 22 */
  51. CHIP_ARCTURUS, /* 23 */
  52. CHIP_RENOIR, /* 24 */
  53. CHIP_NAVI10, /* 25 */
  54. CHIP_NAVI14, /* 26 */
  55. CHIP_NAVI12, /* 27 */
  56. CHIP_SIENNA_CICHLID, /* 28 */
  57. CHIP_NAVY_FLOUNDER, /* 29 */
  58. CHIP_LAST,
  59. };
  60. extern const char *amdgpu_asic_name[];
  61. #endif /*__AMD_ASIC_TYPE_H__ */