OSDN Git Service

drm/amdgpu: Add vega20 to asic_type enum.
authorFeifei Xu <Feifei.Xu@amd.com>
Fri, 20 Apr 2018 04:27:54 +0000 (12:27 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 17 May 2018 15:13:09 +0000 (10:13 -0500)
Add vega20 to amd_asic_type enum and amdgpu_asic_name[].

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

index 9fb20a5..f84fc56 100644 (file)
@@ -86,6 +86,7 @@ static const char *amdgpu_asic_name[] = {
        "VEGAM",
        "VEGA10",
        "VEGA12",
+       "VEGA20",
        "RAVEN",
        "LAST",
 };
index 695bde7..dd63d08 100644 (file)
@@ -47,6 +47,7 @@ enum amd_asic_type {
        CHIP_VEGAM,
        CHIP_VEGA10,
        CHIP_VEGA12,
+       CHIP_VEGA20,
        CHIP_RAVEN,
        CHIP_LAST,
 };