Commit 844d8dd5 authored by Saleemkhan Jamadar's avatar Saleemkhan Jamadar Committed by Alex Deucher

drm/amdgpu/discovery: add VCN 4.0.5 Support

Enable VCN 4.0.5 on gc 11_5_0.
Signed-off-by: default avatarSaleemkhan Jamadar <saleemkhan.jamadar@amd.com>
Acked-by: default avatarLeo Liu <leo.liu@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent c64f3895
...@@ -81,6 +81,8 @@ ...@@ -81,6 +81,8 @@
#include "jpeg_v4_0.h" #include "jpeg_v4_0.h"
#include "vcn_v4_0_3.h" #include "vcn_v4_0_3.h"
#include "jpeg_v4_0_3.h" #include "jpeg_v4_0_3.h"
#include "vcn_v4_0_5.h"
#include "jpeg_v4_0_5.h"
#include "amdgpu_vkms.h" #include "amdgpu_vkms.h"
#include "mes_v10_1.h" #include "mes_v10_1.h"
#include "mes_v11_0.h" #include "mes_v11_0.h"
...@@ -2082,6 +2084,10 @@ static int amdgpu_discovery_set_mm_ip_blocks(struct amdgpu_device *adev) ...@@ -2082,6 +2084,10 @@ static int amdgpu_discovery_set_mm_ip_blocks(struct amdgpu_device *adev)
amdgpu_device_ip_block_add(adev, &vcn_v4_0_3_ip_block); amdgpu_device_ip_block_add(adev, &vcn_v4_0_3_ip_block);
amdgpu_device_ip_block_add(adev, &jpeg_v4_0_3_ip_block); amdgpu_device_ip_block_add(adev, &jpeg_v4_0_3_ip_block);
break; break;
case IP_VERSION(4, 0, 5):
amdgpu_device_ip_block_add(adev, &vcn_v4_0_5_ip_block);
amdgpu_device_ip_block_add(adev, &jpeg_v4_0_5_ip_block);
break;
default: default:
dev_err(adev->dev, dev_err(adev->dev,
"Failed to add vcn/jpeg ip block(UVD_HWIP:0x%x)\n", "Failed to add vcn/jpeg ip block(UVD_HWIP:0x%x)\n",
......
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