]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/amdgpu: support nbio v6_3_2
authorLikun Gao <Likun.Gao@amd.com>
Thu, 13 Mar 2025 06:38:07 +0000 (14:38 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 24 Apr 2026 14:57:10 +0000 (10:57 -0400)
Support NBIO version 6.3.2 related function.

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 fcad7daaa41b54d20ef0c3b86a95c32287f9031e..b0dfbd672b76603681ef823cddf2181c039bbe71 100644 (file)
@@ -64,6 +64,7 @@
 #include "nbio_v7_2.h"
 #include "nbio_v7_7.h"
 #include "nbif_v6_3_1.h"
+#include "nbio_v6_3_2.h"
 #include "hdp_v5_0.h"
 #include "hdp_v5_2.h"
 #include "hdp_v6_0.h"
@@ -3195,6 +3196,9 @@ int amdgpu_discovery_set_ip_blocks(struct amdgpu_device *adev)
                adev->nbio.funcs = &nbif_v6_3_1_funcs;
                adev->nbio.hdp_flush_reg = &nbif_v6_3_1_hdp_flush_reg;
                break;
+       case IP_VERSION(6, 3, 2):
+               adev->nbio.funcs = &nbio_v6_3_2_funcs;
+               break;
        default:
                break;
        }