drm/amdgpu/discovery: add hdp6 support for HDP 6.0.1
authorFlora Cui <flora.cui@amd.com>
Fri, 15 Apr 2022 14:29:42 +0000 (10:29 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 May 2022 20:51:40 +0000 (16:51 -0400)
Enable Host Data Path support.

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

index 26ed3ff8e7d231e5136736d0eda3a5b15887538a..45383c1b4dc7e490248358227e8aedead9db9867 100644 (file)
@@ -2217,6 +2217,7 @@ int amdgpu_discovery_set_ip_blocks(struct amdgpu_device *adev)
                adev->hdp.funcs = &hdp_v5_0_funcs;
                break;
        case IP_VERSION(6, 0, 0):
+       case IP_VERSION(6, 0, 1):
                adev->hdp.funcs = &hdp_v6_0_funcs;
                break;
        default: