drm/amdgpu: enable Arcturus JPEG2.5 block

It also doen't care about FW loading type, so enabling it directly.

Signed-off-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Leo Liu 2019-11-11 10:33:57 -05:00 committed by Alex Deucher
parent e89e2237e8
commit 8c74e59049

View File

@ -69,6 +69,7 @@
#include "vcn_v2_0.h" #include "vcn_v2_0.h"
#include "jpeg_v2_0.h" #include "jpeg_v2_0.h"
#include "vcn_v2_5.h" #include "vcn_v2_5.h"
#include "jpeg_v2_5.h"
#include "dce_virtual.h" #include "dce_virtual.h"
#include "mxgpu_ai.h" #include "mxgpu_ai.h"
#include "amdgpu_smu.h" #include "amdgpu_smu.h"
@ -804,6 +805,7 @@ int soc15_set_ip_blocks(struct amdgpu_device *adev)
if (unlikely(adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT)) if (unlikely(adev->firmware.load_type == AMDGPU_FW_LOAD_DIRECT))
amdgpu_device_ip_block_add(adev, &vcn_v2_5_ip_block); amdgpu_device_ip_block_add(adev, &vcn_v2_5_ip_block);
amdgpu_device_ip_block_add(adev, &jpeg_v2_5_ip_block);
break; break;
case CHIP_RENOIR: case CHIP_RENOIR:
amdgpu_device_ip_block_add(adev, &vega10_common_ip_block); amdgpu_device_ip_block_add(adev, &vega10_common_ip_block);