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 d4855d1ef51fe36a4d5e3381f4e3023fedece866..e8083ec3fbc2b38253bc05815b0fd3fde60eda9a 100644 (file)
@@ -89,6 +89,7 @@ static const char *amdgpu_asic_name[] = {
        "VEGA12",
        "VEGA20",
        "RAVEN",
+       "PICASSO",
        "LAST",
 };
 
index dd63d08cc54e87c911a7c67aa54ab8718a9959e9..5644fc679d6f665f387230f6dc775f8e17d6c292 100644 (file)
@@ -49,6 +49,7 @@ enum amd_asic_type {
        CHIP_VEGA12,
        CHIP_VEGA20,
        CHIP_RAVEN,
+       CHIP_PICASSO,
        CHIP_LAST,
 };