drm/amdgpu/discovery: add nbif v6_3_1 ip block
authorLikun Gao <Likun.Gao@amd.com>
Thu, 9 Mar 2023 06:28:54 +0000 (14:28 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Mar 2024 20:32:45 +0000 (15:32 -0500)
Add nbif v6_3_1 ip block.

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 72701e7..8a0be74 100644 (file)
@@ -61,6 +61,7 @@
 #include "nbio_v4_3.h"
 #include "nbio_v7_2.h"
 #include "nbio_v7_7.h"
+#include "nbif_v6_3_1.h"
 #include "hdp_v5_0.h"
 #include "hdp_v5_2.h"
 #include "hdp_v6_0.h"
@@ -2559,6 +2560,10 @@ int amdgpu_discovery_set_ip_blocks(struct amdgpu_device *adev)
                adev->nbio.funcs = &nbio_v7_7_funcs;
                adev->nbio.hdp_flush_reg = &nbio_v7_7_hdp_flush_reg;
                break;
+       case IP_VERSION(6, 3, 1):
+               adev->nbio.funcs = &nbif_v6_3_1_funcs;
+               adev->nbio.hdp_flush_reg = &nbif_v6_3_1_hdp_flush_reg;
+               break;
        default:
                break;
        }