Commit d0f56dc2 authored by Tao Zhou's avatar Tao Zhou Committed by Alex Deucher

drm/amdgpu: add cyan_skillfish asic type

Add cyan_skillfish asic family.
Signed-off-by: default avatarTao Zhou <tao.zhou1@amd.com>
Reviewed-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 30ebc16a
...@@ -116,6 +116,7 @@ const char *amdgpu_asic_name[] = { ...@@ -116,6 +116,7 @@ const char *amdgpu_asic_name[] = {
"RENOIR", "RENOIR",
"ALDEBARAN", "ALDEBARAN",
"NAVI10", "NAVI10",
"CYAN_SKILLFISH",
"NAVI14", "NAVI14",
"NAVI12", "NAVI12",
"SIENNA_CICHLID", "SIENNA_CICHLID",
...@@ -1439,6 +1440,10 @@ static int amdgpu_device_init_apu_flags(struct amdgpu_device *adev) ...@@ -1439,6 +1440,10 @@ static int amdgpu_device_init_apu_flags(struct amdgpu_device *adev)
break; break;
case CHIP_YELLOW_CARP: case CHIP_YELLOW_CARP:
break; break;
case CHIP_CYAN_SKILLFISH:
if (adev->pdev->device == 0x13FE)
adev->apu_flags |= AMD_APU_IS_CYAN_SKILLFISH2;
break;
default: default:
return -EINVAL; return -EINVAL;
} }
......
...@@ -47,6 +47,7 @@ enum amd_apu_flags { ...@@ -47,6 +47,7 @@ enum amd_apu_flags {
AMD_APU_IS_RENOIR = 0x00000008UL, AMD_APU_IS_RENOIR = 0x00000008UL,
AMD_APU_IS_GREEN_SARDINE = 0x00000010UL, AMD_APU_IS_GREEN_SARDINE = 0x00000010UL,
AMD_APU_IS_VANGOGH = 0x00000020UL, AMD_APU_IS_VANGOGH = 0x00000020UL,
AMD_APU_IS_CYAN_SKILLFISH2 = 0x00000040UL,
}; };
/** /**
......
...@@ -53,14 +53,15 @@ enum amd_asic_type { ...@@ -53,14 +53,15 @@ enum amd_asic_type {
CHIP_RENOIR, /* 24 */ CHIP_RENOIR, /* 24 */
CHIP_ALDEBARAN, /* 25 */ CHIP_ALDEBARAN, /* 25 */
CHIP_NAVI10, /* 26 */ CHIP_NAVI10, /* 26 */
CHIP_NAVI14, /* 27 */ CHIP_CYAN_SKILLFISH, /* 27 */
CHIP_NAVI12, /* 28 */ CHIP_NAVI14, /* 28 */
CHIP_SIENNA_CICHLID, /* 29 */ CHIP_NAVI12, /* 29 */
CHIP_NAVY_FLOUNDER, /* 30 */ CHIP_SIENNA_CICHLID, /* 30 */
CHIP_VANGOGH, /* 31 */ CHIP_NAVY_FLOUNDER, /* 31 */
CHIP_DIMGREY_CAVEFISH, /* 32 */ CHIP_VANGOGH, /* 32 */
CHIP_BEIGE_GOBY, /* 33 */ CHIP_DIMGREY_CAVEFISH, /* 33 */
CHIP_YELLOW_CARP, /* 34 */ CHIP_BEIGE_GOBY, /* 34 */
CHIP_YELLOW_CARP, /* 35 */
CHIP_LAST, CHIP_LAST,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment