Эх сурвалжийг харах

drm/amdgpu: add vega12 to asic_type enum

Add vega12 to amd_asic_type enum and amdgpu_asic_name[].

Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Feifei Xu 7 жил өмнө
parent
commit
8fab806ad1

+ 1 - 0
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c

@@ -83,6 +83,7 @@ static const char *amdgpu_asic_name[] = {
 	"POLARIS11",
 	"POLARIS11",
 	"POLARIS12",
 	"POLARIS12",
 	"VEGA10",
 	"VEGA10",
+	"VEGA12",
 	"RAVEN",
 	"RAVEN",
 	"LAST",
 	"LAST",
 };
 };

+ 1 - 0
include/drm/amd_asic_type.h

@@ -45,6 +45,7 @@ enum amd_asic_type {
 	CHIP_POLARIS11,
 	CHIP_POLARIS11,
 	CHIP_POLARIS12,
 	CHIP_POLARIS12,
 	CHIP_VEGA10,
 	CHIP_VEGA10,
+	CHIP_VEGA12,
 	CHIP_RAVEN,
 	CHIP_RAVEN,
 	CHIP_LAST,
 	CHIP_LAST,
 };
 };