drm/amdgpu: add VCN ip block for Navi12
authorBoyuan Zhang <boyuan.zhang@amd.com>
Thu, 18 Jul 2019 14:13:23 +0000 (10:13 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 2 Aug 2019 15:30:41 +0000 (10:30 -0500)
Add VCN2 ip block for Navi12

Signed-off-by: Boyuan Zhang <boyuan.zhang@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 9bbc4bb3d1b39c2540b83196574b4dd248f78998..b97d48608cccf7b24ef2a4e8f16dc092d7194fc1 100644 (file)
@@ -437,6 +437,7 @@ int nv_set_ip_blocks(struct amdgpu_device *adev)
                if (adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT &&
                    is_support_sw_smu(adev))
                        amdgpu_device_ip_block_add(adev, &smu_v11_0_ip_block);
+               amdgpu_device_ip_block_add(adev, &vcn_v2_0_ip_block);
                break;
        default:
                return -EINVAL;