drm/amdgpu: enable vcn3.0 for dimgrey_cavefish
authorJames Zhu <James.Zhu@amd.com>
Thu, 23 Jul 2020 16:55:54 +0000 (12:55 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 12 Oct 2020 18:02:12 +0000 (14:02 -0400)
Enable vcn3.0 ip block for dimgrey_cavefish.

Signed-off-by: James Zhu <James.Zhu@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/nv.c

index 229ec1d..b96b42e 100644 (file)
@@ -634,6 +634,7 @@ int nv_set_ip_blocks(struct amdgpu_device *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);
+               amdgpu_device_ip_block_add(adev, &vcn_v3_0_ip_block);
                break;
        default:
                return -EINVAL;