drm/amd/amdgpu: add gmc ip block for beige_goby
authorChengming Gui <Jack.Gui@amd.com>
Tue, 13 Oct 2020 08:51:08 +0000 (16:51 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 May 2021 02:40:17 +0000 (22:40 -0400)
Enable gmc block for beige_goby, same as sienna_cichlid

Signed-off-by: Chengming Gui <Jack.Gui@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c
drivers/gpu/drm/amd/amdgpu/nv.c

index 4802ad2d083abf4d726028b8391a7ecba6663793..f02dc904e4cfebaeb80bb20e45db68319c846a9a 100644 (file)
@@ -681,6 +681,7 @@ static void gmc_v10_0_set_gfxhub_funcs(struct amdgpu_device *adev)
        case CHIP_NAVY_FLOUNDER:
        case CHIP_VANGOGH:
        case CHIP_DIMGREY_CAVEFISH:
+       case CHIP_BEIGE_GOBY:
                adev->gfxhub.funcs = &gfxhub_v2_1_funcs;
                break;
        default:
index 8efcc38ac37989dec9a3acabfce99dcbbbd56be8..636f3652ca2ae17136eb374ff00af595cb295e99 100644 (file)
@@ -953,6 +953,7 @@ int nv_set_ip_blocks(struct amdgpu_device *adev)
                break;
        case CHIP_BEIGE_GOBY:
                amdgpu_device_ip_block_add(adev, &nv_common_ip_block);
+               amdgpu_device_ip_block_add(adev, &gmc_v10_0_ip_block);
                break;
        default:
                return -EINVAL;