drm/amdgpu: add Raven ip blocks (v2)
authorChunming Zhou <David1.Zhou@amd.com>
Thu, 8 Dec 2016 02:09:13 +0000 (10:09 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 May 2017 21:40:50 +0000 (17:40 -0400)
Add the IP blocks for RAVEN.

v2: drop DC for upstream (Alex)

Signed-off-by: Chunming Zhou <David1.Zhou@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc15.c

index 20a262f..821b52f 100644 (file)
@@ -479,6 +479,15 @@ int soc15_set_ip_blocks(struct amdgpu_device *adev)
                amdgpu_ip_block_add(adev, &uvd_v7_0_ip_block);
                amdgpu_ip_block_add(adev, &vce_v4_0_ip_block);
                break;
+       case CHIP_RAVEN:
+               amdgpu_ip_block_add(adev, &vega10_common_ip_block);
+               amdgpu_ip_block_add(adev, &gfxhub_v1_0_ip_block);
+               amdgpu_ip_block_add(adev, &mmhub_v1_0_ip_block);
+               amdgpu_ip_block_add(adev, &gmc_v9_0_ip_block);
+               amdgpu_ip_block_add(adev, &vega10_ih_ip_block);
+               amdgpu_ip_block_add(adev, &gfx_v9_0_ip_block);
+               amdgpu_ip_block_add(adev, &sdma_v4_0_ip_block);
+               break;
        default:
                return -EINVAL;
        }