[PATCH] drm/amdgpu/discovery: enable vcn/jpeg v4_0_2

Huang, Tim Tim.Huang at amd.com
Thu Jun 9 11:25:48 UTC 2022


[AMD Official Use Only - General]

Reviewed-by: Tim Huang <Tim.Huang at amd.com>

-----Original Message-----
From: Zhang, Yifan <Yifan1.Zhang at amd.com>
Sent: Thursday, June 9, 2022 6:49 PM
To: amd-gfx at lists.freedesktop.org
Cc: Huang, Ray <Ray.Huang at amd.com>; Deucher, Alexander <Alexander.Deucher at amd.com>; Huang, Tim <Tim.Huang at amd.com>; Zhang, Yifan <Yifan1.Zhang at amd.com>
Subject: [PATCH] drm/amdgpu/discovery: enable vcn/jpeg v4_0_2

Enable vcn/jpeg 4_0_2.

Signed-off-by: Yifan Zhang <yifan1.zhang at amd.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
index 91f21b725a43..7dd098351a59 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
@@ -1888,6 +1888,7 @@ static int amdgpu_discovery_set_mm_ip_blocks(struct amdgpu_device *adev)
                        amdgpu_device_ip_block_add(adev, &vcn_v3_0_ip_block);
                        break;
                case IP_VERSION(4, 0, 0):
+               case IP_VERSION(4, 0, 2):
                case IP_VERSION(4, 0, 4):
                        amdgpu_device_ip_block_add(adev, &vcn_v4_0_ip_block);
                        amdgpu_device_ip_block_add(adev, &jpeg_v4_0_ip_block);
--
2.35.1



More information about the amd-gfx mailing list