瀏覽代碼

drm/amdgpu: add vega10 chip name

Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Ken Wang <Qingqing.Wang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Ken Wang 9 年之前
父節點
當前提交
d4196f011c
共有 2 個文件被更改,包括 2 次插入0 次删除
  1. 1 0
      drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
  2. 1 0
      drivers/gpu/drm/amd/include/amd_shared.h

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

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

+ 1 - 0
drivers/gpu/drm/amd/include/amd_shared.h

@@ -47,6 +47,7 @@ enum amd_asic_type {
 	CHIP_POLARIS10,
 	CHIP_POLARIS11,
 	CHIP_POLARIS12,
+	CHIP_VEGA10,
 	CHIP_LAST,
 };