From: Likun Gao <[email protected]>

Add LSDMA ip block for LSDMA v6.0.2.

Signed-off-by: Likun Gao <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: Alex Deucher <[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 a3494131a946..d7b0fd1cad62 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
@@ -2309,6 +2309,7 @@ int amdgpu_discovery_set_ip_blocks(struct amdgpu_device 
*adev)
 
        switch (adev->ip_versions[LSDMA_HWIP][0]) {
        case IP_VERSION(6, 0, 0):
+       case IP_VERSION(6, 0, 2):
                adev->lsdma.funcs = &lsdma_v6_0_funcs;
                break;
        default:
-- 
2.35.1

Reply via email to