From: Prike Liang <prike.li...@amd.com>

Add to IP discovery table.

Signed-off-by: Prike Liang <prike.li...@amd.com>
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c 
b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
index 704f97116119..6ad2dae3bf90 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
@@ -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"
@@ -2395,6 +2396,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):
-- 
2.41.0

Reply via email to