OSDN Git Service

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 a824d5d..565f766 100644 (file)
@@ -83,6 +83,7 @@ static const char *amdgpu_asic_name[] = {
        "POLARIS11",
        "POLARIS12",
        "VEGA10",
+       "VEGA12",
        "RAVEN",
        "LAST",
 };
index 599028f..6c731c5 100644 (file)
@@ -45,6 +45,7 @@ enum amd_asic_type {
        CHIP_POLARIS11,
        CHIP_POLARIS12,
        CHIP_VEGA10,
+       CHIP_VEGA12,
        CHIP_RAVEN,
        CHIP_LAST,
 };