drm/amdgpu: enable jpeg3.0 for dimgrey_cavefish
authorJames Zhu <James.Zhu@amd.com>
Thu, 23 Jul 2020 16:58:12 +0000 (12:58 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 12 Oct 2020 18:02:26 +0000 (14:02 -0400)
Enable jpeg3.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 b96b42e..9e567a3 100644 (file)
@@ -635,6 +635,7 @@ int nv_set_ip_blocks(struct amdgpu_device *adev)
                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);
+               amdgpu_device_ip_block_add(adev, &jpeg_v3_0_ip_block);
                break;
        default:
                return -EINVAL;