drm/amdgpu: add ip blocks for navi14
authorXiaojie Yuan <xiaojie.yuan@amd.com>
Wed, 19 Dec 2018 12:39:37 +0000 (20:39 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2019 19:17:59 +0000 (14:17 -0500)
Add the initial IP blocks for navi14

Signed-off-by: Xiaojie Yuan <xiaojie.yuan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Jack Xiao <Jack.Xiao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/nv.c

index dfc247cb44a8475b46fa54545621e751c94109cd..81aa154fd4490d486fbe07dfce833b3dbd6a2ccc 100644 (file)
@@ -405,6 +405,13 @@ int nv_set_ip_blocks(struct amdgpu_device *adev)
                if (adev->enable_mes)
                        amdgpu_device_ip_block_add(adev, &mes_v10_1_ip_block);
                break;
+       case CHIP_NAVI14:
+               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);
+               amdgpu_device_ip_block_add(adev, &gfx_v10_0_ip_block);
+               amdgpu_device_ip_block_add(adev, &sdma_v5_0_ip_block);
+               break;
        default:
                return -EINVAL;
        }