drm/amdgpu: add LSDMA block for LSDMA v6.0.2
authorLikun Gao <Likun.Gao@amd.com>
Mon, 25 Apr 2022 06:02:25 +0000 (14:02 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 May 2022 21:53:12 +0000 (17:53 -0400)
Add LSDMA ip block for LSDMA v6.0.2.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c

index a349413..d7b0fd1 100644 (file)
@@ -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: