From: Likun Gao Date: Thu, 13 Mar 2025 06:38:07 +0000 (+0800) Subject: drm/amdgpu: support nbio v6_3_2 X-Git-Tag: v7.2-rc1~141^2~24^2~106 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=42ba838ee1a1a3dce71f831002e39e229af12238;p=thirdparty%2Flinux.git drm/amdgpu: support nbio v6_3_2 Support NBIO version 6.3.2 related function. Signed-off-by: Likun Gao Reviewed-by: Hawking Zhang Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c index fcad7daaa41b5..b0dfbd672b766 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c @@ -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; }