diff options
author | Aaron Liu <aaron.liu@amd.com> | 2020-11-04 12:49:52 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-06-04 16:03:05 -0400 |
commit | ee9236b78b2155544ece975c14f424f518d18bc8 (patch) | |
tree | 1e3459282716cb5146216d618d7838e2be005437 | |
parent | 02680c23d7b3febe45ea3d4f9818c2b2dc89020a (diff) | |
download | lwn-ee9236b78b2155544ece975c14f424f518d18bc8.tar.gz lwn-ee9236b78b2155544ece975c14f424f518d18bc8.zip |
drm/amdgpu: add yellow carp asic_type enum
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>
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 1 | ||||
-rw-r--r-- | include/drm/amd_asic_type.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index f6e10653d828..2969f3a4b68d 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c @@ -122,6 +122,7 @@ const char *amdgpu_asic_name[] = { "VANGOGH", "DIMGREY_CAVEFISH", "BEIGE_GOBY", + "YELLOW_CARP", "LAST", }; diff --git a/include/drm/amd_asic_type.h b/include/drm/amd_asic_type.h index 02f703ec4230..0bf0ad869eb9 100644 --- a/include/drm/amd_asic_type.h +++ b/include/drm/amd_asic_type.h @@ -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, }; |