aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorChengming Gui <Jack.Gui@amd.com>2020-10-13 16:51:08 +0800
committerAlex Deucher <alexander.deucher@amd.com>2021-05-19 22:40:17 -0400
commit2d527ea6fd32a8656042d9699c54e302282c0ce3 (patch)
treeb8174a90dc9029d64fe88ef9770780dcfa5d4b52
parentdrm/amd/amdgpu: add common ip block for beige_goby (diff)
downloadwireguard-linux-2d527ea6fd32a8656042d9699c54e302282c0ce3.tar.xz
wireguard-linux-2d527ea6fd32a8656042d9699c54e302282c0ce3.zip
drm/amd/amdgpu: add gmc ip block for beige_goby
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>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c1
-rw-r--r--drivers/gpu/drm/amd/amdgpu/nv.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c
index 4802ad2d083a..f02dc904e4cf 100644
--- a/drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c
@@ -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:
diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c
index 8efcc38ac379..636f3652ca2a 100644
--- a/drivers/gpu/drm/amd/amdgpu/nv.c
+++ b/drivers/gpu/drm/amd/amdgpu/nv.c
@@ -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;