drm/amdgpu: add van gogh asic_type enum (v2)
authorHuang Rui <ray.huang@amd.com>
Thu, 27 Aug 2020 14:40:29 +0000 (10:40 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Oct 2020 19:14:02 +0000 (15:14 -0400)
This patch adds van gogh to amd_asic_type enum and amdgpu_asic_name[].

v2: add missing comma

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@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 d0a42c2..b293e02 100644 (file)
@@ -114,6 +114,7 @@ const char *amdgpu_asic_name[] = {
        "NAVI12",
        "SIENNA_CICHLID",
        "NAVY_FLOUNDER",
+       "VANGOGH",
        "LAST",
 };
 
index 8712e14..6d01cf0 100644 (file)
@@ -56,6 +56,7 @@ enum amd_asic_type {
        CHIP_NAVI12,    /* 27 */
        CHIP_SIENNA_CICHLID,    /* 28 */
        CHIP_NAVY_FLOUNDER,     /* 29 */
+       CHIP_VANGOGH,   /* 30 */
        CHIP_LAST,
 };