summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFeifei Xu <Feifei.Xu@amd.com>2018-04-20 12:27:54 +0800
committerAlex Deucher <alexander.deucher@amd.com>2018-05-17 10:13:09 -0500
commit956fcddc0b2a7430b6ee4783827f57cb7c823c7d (patch)
treeed0b58a9e6ad5067fe4312930dbfe6cd24cc0581
parentb2f87c9182deaf495ec4fefde89584910ec137d8 (diff)
downloadlinux-956fcddc0b2a7430b6ee4783827f57cb7c823c7d.tar.gz
linux-956fcddc0b2a7430b6ee4783827f57cb7c823c7d.tar.bz2
linux-956fcddc0b2a7430b6ee4783827f57cb7c823c7d.zip
drm/amdgpu: Add vega20 to asic_type enum.
Add vega20 to amd_asic_type enum and amdgpu_asic_name[]. Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Feifei Xu <Feifei.Xu@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_device.c1
-rw-r--r--include/drm/amd_asic_type.h1
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 9fb20a53d5b2..f84fc560c797 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -86,6 +86,7 @@ static const char *amdgpu_asic_name[] = {
"VEGAM",
"VEGA10",
"VEGA12",
+ "VEGA20",
"RAVEN",
"LAST",
};
diff --git a/include/drm/amd_asic_type.h b/include/drm/amd_asic_type.h
index 695bde7eb055..dd63d08cc54e 100644
--- a/include/drm/amd_asic_type.h
+++ b/include/drm/amd_asic_type.h
@@ -47,6 +47,7 @@ enum amd_asic_type {
CHIP_VEGAM,
CHIP_VEGA10,
CHIP_VEGA12,
+ CHIP_VEGA20,
CHIP_RAVEN,
CHIP_LAST,
};