drm/amdgpu/discovery: add nbio 4.3 support for NBIO 4.3.1
authorFlora Cui <flora.cui@amd.com>
Fri, 15 Apr 2022 14:28:37 +0000 (10:28 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 May 2022 20:51:38 +0000 (16:51 -0400)
Enable nbio 4.3 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 5263f94..26ed3ff 100644 (file)
@@ -2189,6 +2189,7 @@ int amdgpu_discovery_set_ip_blocks(struct amdgpu_device *adev)
                adev->nbio.hdp_flush_reg = &nbio_v2_3_hdp_flush_reg_sc;
                break;
        case IP_VERSION(4, 3, 0):
+       case IP_VERSION(4, 3, 1):
                adev->nbio.funcs = &nbio_v4_3_funcs;
                adev->nbio.hdp_flush_reg = &nbio_v4_3_hdp_flush_reg;
                break;