drm/amdgpu: set asic family and ip blocks for dimgrey_cavefish
authorTao Zhou <tao.zhou1@amd.com>
Fri, 2 Oct 2020 15:24:30 +0000 (11:24 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 12 Oct 2020 18:00:09 +0000 (14:00 -0400)
Same as navi series.

Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Jiansong Chen <Jiansong.Chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c

index af93365..9cf1cb6 100644 (file)
@@ -2002,6 +2002,7 @@ static int amdgpu_device_ip_early_init(struct amdgpu_device *adev)
        case  CHIP_NAVI12:
        case  CHIP_SIENNA_CICHLID:
        case  CHIP_NAVY_FLOUNDER:
+       case  CHIP_DIMGREY_CAVEFISH:
        case CHIP_VANGOGH:
                if (adev->asic_type == CHIP_VANGOGH)
                        adev->family = AMDGPU_FAMILY_VGH;