diff options
author | Aaron Liu <aaron.liu@amd.com> | 2020-11-04 09:12:58 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-06-04 23:03:08 +0300 |
commit | 5c462ca9a074ea13a83fcf0a21ed6bb780cc2a71 (patch) | |
tree | 17d3096234e0e9552ec9e054b91a6cdd7e84e5bf /drivers/gpu/drm/amd/amdgpu/nv.c | |
parent | e88d68e106a7d3ba8d8017c524600fe1d9bd794c (diff) | |
download | linux-5c462ca9a074ea13a83fcf0a21ed6bb780cc2a71.tar.xz |
drm/amdgpu: set ip blocks for yellow carp
Enable ip blocks for yellow carp.
Signed-off-by: Aaron Liu <aaron.liu@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/nv.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/nv.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c index 91ad7536781a..d15f99624e4b 100644 --- a/drivers/gpu/drm/amd/amdgpu/nv.c +++ b/drivers/gpu/drm/amd/amdgpu/nv.c @@ -988,6 +988,15 @@ int nv_set_ip_blocks(struct amdgpu_device *adev) amdgpu_device_ip_block_add(adev, &smu_v11_0_ip_block); amdgpu_device_ip_block_add(adev, &vcn_v3_0_ip_block); break; + case CHIP_YELLOW_CARP: + amdgpu_device_ip_block_add(adev, &nv_common_ip_block); + amdgpu_device_ip_block_add(adev, &gmc_v10_0_ip_block); + amdgpu_device_ip_block_add(adev, &navi10_ih_ip_block); + if (adev->enable_virtual_display || amdgpu_sriov_vf(adev)) + amdgpu_device_ip_block_add(adev, &dce_virtual_ip_block); + amdgpu_device_ip_block_add(adev, &gfx_v10_0_ip_block); + amdgpu_device_ip_block_add(adev, &sdma_v5_2_ip_block); + break; default: return -EINVAL; } |