drm/amdgpu: add picasso to asic_type enum
authorLikun Gao <Likun.Gao@amd.com>
Tue, 10 Jul 2018 12:10:05 +0000 (20:10 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Sep 2018 14:34:48 +0000 (09:34 -0500)
Add picasso to amd_asic_type enum and amdgpu_asic_name[].

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Huang Rui <ray.huang@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 d4855d1..e8083ec 100644 (file)
@@ -89,6 +89,7 @@ static const char *amdgpu_asic_name[] = {
        "VEGA12",
        "VEGA20",
        "RAVEN",
+       "PICASSO",
        "LAST",
 };
 
index dd63d08..5644fc6 100644 (file)
@@ -49,6 +49,7 @@ enum amd_asic_type {
        CHIP_VEGA12,
        CHIP_VEGA20,
        CHIP_RAVEN,
+       CHIP_PICASSO,
        CHIP_LAST,
 };