drm/amdgpu/discovery: add nbio 7.11.0 support
authorPrike Liang <Prike.Liang@amd.com>
Tue, 24 May 2022 03:17:29 +0000 (11:17 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 30 Aug 2023 19:00:30 +0000 (15:00 -0400)
Add to IP discovery table.

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

index d8040dd7d98fe72e8e80665844cc8361ffd0faeb..ea24559267aa644852a0acb756c1899369b96afe 100644 (file)
@@ -39,6 +39,7 @@
 #include "nbio_v7_0.h"
 #include "nbio_v7_4.h"
 #include "nbio_v7_9.h"
+#include "nbio_v7_11.h"
 #include "hdp_v4_0.h"
 #include "vega10_ih.h"
 #include "vega20_ih.h"
@@ -2412,6 +2413,10 @@ int amdgpu_discovery_set_ip_blocks(struct amdgpu_device *adev)
                adev->nbio.funcs = &nbio_v7_9_funcs;
                adev->nbio.hdp_flush_reg = &nbio_v7_9_hdp_flush_reg;
                break;
+       case IP_VERSION(7, 11, 0):
+               adev->nbio.funcs = &nbio_v7_11_funcs;
+               adev->nbio.hdp_flush_reg = &nbio_v7_11_hdp_flush_reg;
+               break;
        case IP_VERSION(7, 2, 0):
        case IP_VERSION(7, 2, 1):
        case IP_VERSION(7, 3, 0):