diff options
| author | Sonny Jiang <[email protected]> | 2023-08-15 20:58:24 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-02-12 21:11:53 +0000 |
| commit | 470675f6bf6a5b3916aaa175465f29cdaa15c87c (patch) | |
| tree | cab433f83aafd795e139fb56229622bd476a2d2d /drivers/gpu/drm/amd/amdgpu | |
| parent | drm/amd/display: Fix && vs || typos (diff) | |
| download | kernel-470675f6bf6a5b3916aaa175465f29cdaa15c87c.tar.gz kernel-470675f6bf6a5b3916aaa175465f29cdaa15c87c.zip | |
amdgpu/drm: Add vcn_v5_0_0_ip_block support
Enable support for vcn_v5_0_0_ip_block
Signed-off-by: Sonny Jiang <[email protected]>
Reviewed-by: Leo Liu <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c index 2563962b7bea..33404e74391a 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c @@ -96,6 +96,7 @@ #include "smuio_v13_0.h" #include "smuio_v13_0_3.h" #include "smuio_v13_0_6.h" +#include "vcn_v5_0_0.h" #include "amdgpu_vpe.h" @@ -2132,6 +2133,9 @@ static int amdgpu_discovery_set_mm_ip_blocks(struct amdgpu_device *adev) 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; + case IP_VERSION(5, 0, 0): + amdgpu_device_ip_block_add(adev, &vcn_v5_0_0_ip_block); + break; default: dev_err(adev->dev, "Failed to add vcn/jpeg ip block(UVD_HWIP:0x%x)\n", |
