drm/amdgpu/vpe: add vpe v2.2.0 support

This initializes VPE IP version 2.2.0

Signed-off-by: Caden Chien <chih-wei.chien@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Caden Chien 2026-05-18 13:22:23 +08:00 committed by Alex Deucher
parent 42631c2dd3
commit 66ce596a06
3 changed files with 3 additions and 0 deletions

View File

@ -2769,6 +2769,7 @@ static int amdgpu_discovery_set_vpe_ip_blocks(struct amdgpu_device *adev)
amdgpu_device_ip_block_add(adev, &vpe_v6_1_ip_block);
break;
case IP_VERSION(2, 0, 0):
case IP_VERSION(2, 2, 0):
amdgpu_device_ip_block_add(adev, &vpe_v2_0_ip_block);
break;
default:

View File

@ -312,6 +312,7 @@ static int vpe_early_init(struct amdgpu_ip_block *ip_block)
vpe->collaborate_mode = true;
break;
case IP_VERSION(2, 0, 0):
case IP_VERSION(2, 2, 0):
vpe_v2_0_set_funcs(vpe);
break;
default:

View File

@ -31,6 +31,7 @@
#include "vpe/vpe_2_0_0_sh_mask.h"
MODULE_FIRMWARE("amdgpu/vpe_2_0_0.bin");
MODULE_FIRMWARE("amdgpu/vpe_2_2_0.bin");
#define VPE_THREAD1_UCODE_OFFSET 0x8000