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[] = {
"RENOIR",
"ALDEBARAN",
"NAVI10",
"CYAN_SKILLFISH",
"NAVI14",
"NAVI12",
"SIENNA_CICHLID",
......@@ -1439,6 +1440,10 @@ static int amdgpu_device_init_apu_flags(struct amdgpu_device *adev)
break;
case CHIP_YELLOW_CARP:
break;
case CHIP_CYAN_SKILLFISH:
if (adev->pdev->device == 0x13FE)
adev->apu_flags |= AMD_APU_IS_CYAN_SKILLFISH2;
break;
default:
return -EINVAL;
}
......
......@@ -47,6 +47,7 @@ enum amd_apu_flags {
AMD_APU_IS_RENOIR = 0x00000008UL,
AMD_APU_IS_GREEN_SARDINE = 0x00000010UL,
AMD_APU_IS_VANGOGH = 0x00000020UL,
AMD_APU_IS_CYAN_SKILLFISH2 = 0x00000040UL,
};
/**
......
......@@ -53,14 +53,15 @@ enum amd_asic_type {
CHIP_RENOIR, /* 24 */
CHIP_ALDEBARAN, /* 25 */
CHIP_NAVI10, /* 26 */
CHIP_NAVI14, /* 27 */
CHIP_NAVI12, /* 28 */
CHIP_SIENNA_CICHLID, /* 29 */
CHIP_NAVY_FLOUNDER, /* 30 */
CHIP_VANGOGH, /* 31 */
CHIP_DIMGREY_CAVEFISH, /* 32 */
CHIP_BEIGE_GOBY, /* 33 */
CHIP_YELLOW_CARP, /* 34 */
CHIP_CYAN_SKILLFISH, /* 27 */
CHIP_NAVI14, /* 28 */
CHIP_NAVI12, /* 29 */
CHIP_SIENNA_CICHLID, /* 30 */
CHIP_NAVY_FLOUNDER, /* 31 */
CHIP_VANGOGH, /* 32 */
CHIP_DIMGREY_CAVEFISH, /* 33 */
CHIP_BEIGE_GOBY, /* 34 */
CHIP_YELLOW_CARP, /* 35 */
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