]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/amdgpu: add yellow carp asic_type enum
authorAaron Liu <aaron.liu@amd.com>
Wed, 4 Nov 2020 04:49:52 +0000 (12:49 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 4 Jun 2021 20:03:05 +0000 (16:03 -0400)
This patch adds yellow carp to amd_asic_type enum and amdgpu_asic_name[].

Signed-off-by: Aaron Liu <aaron.liu@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 f6e10653d8280f98eb38f8e1c28a86a34d152458..2969f3a4b68d43b50d5a07fb1003902ee53233f9 100644 (file)
@@ -122,6 +122,7 @@ const char *amdgpu_asic_name[] = {
        "VANGOGH",
        "DIMGREY_CAVEFISH",
        "BEIGE_GOBY",
+       "YELLOW_CARP",
        "LAST",
 };
 
index 02f703ec4230a96e81d06265e1489ab2163ca09d..0bf0ad869eb9fa125574ef374e8b350d3d6f6eba 100644 (file)
@@ -60,6 +60,7 @@ enum amd_asic_type {
        CHIP_VANGOGH,   /* 31 */
        CHIP_DIMGREY_CAVEFISH,  /* 32 */
        CHIP_BEIGE_GOBY,        /* 33 */
+       CHIP_YELLOW_CARP,       /* 34 */
        CHIP_LAST,
 };