drm/amdgpu: add vega12 to asic_type enum
authorFeifei Xu <Feifei.Xu@amd.com>
Thu, 19 Oct 2017 09:04:54 +0000 (17:04 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Mar 2018 19:23:39 +0000 (14:23 -0500)
Add vega12 to amd_asic_type enum and amdgpu_asic_name[].

Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
include/drm/amd_asic_type.h

index a824d5d2ebbed73e3176009e0d0dcc5d5f008e5d..565f766a264d25e3b6063f34f24def3b18a7de62 100644 (file)
@@ -83,6 +83,7 @@ static const char *amdgpu_asic_name[] = {
        "POLARIS11",
        "POLARIS12",
        "VEGA10",
+       "VEGA12",
        "RAVEN",
        "LAST",
 };
index 599028f665859df714f87ef3d84a6ef6d4241938..6c731c52c07116d5f9ce83007da047ef6afe9db1 100644 (file)
@@ -45,6 +45,7 @@ enum amd_asic_type {
        CHIP_POLARIS11,
        CHIP_POLARIS12,
        CHIP_VEGA10,
+       CHIP_VEGA12,
        CHIP_RAVEN,
        CHIP_LAST,
 };