[Public]

Reviewed-by: Alex Deucher <[email protected]>
________________________________
From: Zhang, Yifan <[email protected]>
Sent: Thursday, June 9, 2022 6:49 AM
To: [email protected] <[email protected]>
Cc: Huang, Ray <[email protected]>; Deucher, Alexander 
<[email protected]>; Huang, Tim <[email protected]>; Zhang, Yifan 
<[email protected]>
Subject: [PATCH] drm/amdgpu/discovery: enable vcn/jpeg v4_0_2

Enable vcn/jpeg 4_0_2.

Signed-off-by: Yifan Zhang <[email protected]>
---
 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

Reply via email to