Commit 279ba48e authored by Leo Liu's avatar Leo Liu Committed by Alex Deucher

drm/amdgpu: add VCN2.0 to Renoir IP blocks

Thus enable VCN2.0 for Renoir
Acked-by: default avatarHuang Rui <ray.huang@amd.com>
Signed-off-by: default avatarLeo Liu <leo.liu@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 0c6b391d
...@@ -63,6 +63,7 @@ ...@@ -63,6 +63,7 @@
#include "uvd_v7_0.h" #include "uvd_v7_0.h"
#include "vce_v4_0.h" #include "vce_v4_0.h"
#include "vcn_v1_0.h" #include "vcn_v1_0.h"
#include "vcn_v2_0.h"
#include "vcn_v2_5.h" #include "vcn_v2_5.h"
#include "dce_virtual.h" #include "dce_virtual.h"
#include "mxgpu_ai.h" #include "mxgpu_ai.h"
...@@ -754,6 +755,7 @@ int soc15_set_ip_blocks(struct amdgpu_device *adev) ...@@ -754,6 +755,7 @@ int soc15_set_ip_blocks(struct amdgpu_device *adev)
amdgpu_device_ip_block_add(adev, &sdma_v4_0_ip_block); amdgpu_device_ip_block_add(adev, &sdma_v4_0_ip_block);
if (adev->enable_virtual_display || amdgpu_sriov_vf(adev)) if (adev->enable_virtual_display || amdgpu_sriov_vf(adev))
amdgpu_device_ip_block_add(adev, &dce_virtual_ip_block); amdgpu_device_ip_block_add(adev, &dce_virtual_ip_block);
amdgpu_device_ip_block_add(adev, &vcn_v2_0_ip_block);
break; break;
default: default:
return -EINVAL; return -EINVAL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment