drm/amdgpu/discovery: add nbio sw func for 7.5.1 nbio
authorPrike Liang <Prike.Liang@amd.com>
Wed, 22 Dec 2021 08:54:14 +0000 (16:54 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 16 Feb 2022 22:30:02 +0000 (17:30 -0500)
add nbio sw func for the new 7.5.1 nbio block.

Signed-off-by: Prike Liang <Prike.Liang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c

index aa115ee..1befe6b 100644 (file)
@@ -1807,6 +1807,7 @@ int amdgpu_discovery_set_ip_blocks(struct amdgpu_device *adev)
        case IP_VERSION(7, 2, 0):
        case IP_VERSION(7, 2, 1):
        case IP_VERSION(7, 5, 0):
+       case IP_VERSION(7, 5, 1):
                adev->nbio.funcs = &nbio_v7_2_funcs;
                adev->nbio.hdp_flush_reg = &nbio_v7_2_hdp_flush_reg;
                break;