From: Gangliang Xie <[email protected]>

add uniras support for nbio v7_10_0

Signed-off-by: Gangliang Xie <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
---
 drivers/gpu/drm/amd/ras/core/ras_nbio.c          | 3 +++
 drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_mgr.c | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/drivers/gpu/drm/amd/ras/core/ras_nbio.c 
b/drivers/gpu/drm/amd/ras/core/ras_nbio.c
index ca543b2f36791..b69ddb16ed0f9 100644
--- a/drivers/gpu/drm/amd/ras/core/ras_nbio.c
+++ b/drivers/gpu/drm/amd/ras/core/ras_nbio.c
@@ -36,6 +36,9 @@ static const struct ras_nbio_ip_func *ras_nbio_get_ip_funcs(
        case IP_VERSION(6, 3, 2):
                /* TBD for dGPU */
                break;
+       case IP_VERSION(7, 10, 0):
+               /* TBD for dGPU */
+               break;
        default:
                RAS_DEV_ERR(ras_core->dev,
                        "NBIO ip version(0x%x) is not supported!\n", 
ip_version);
diff --git a/drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_mgr.c 
b/drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_mgr.c
index 8633bd56401d2..701b696a7836a 100644
--- a/drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_mgr.c
+++ b/drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_mgr.c
@@ -193,6 +193,9 @@ static int amdgpu_ras_mgr_init_nbio_config(struct 
amdgpu_device *adev,
        case IP_VERSION(6, 3, 2):
                //TBD for dGPU
                break;
+       case IP_VERSION(7, 10, 0):
+               //TBD for dGPU
+               break;
        default:
                RAS_DEV_ERR(adev,
                        "The nbio(0x%x) ras config is not right!\n",
-- 
2.55.0

Reply via email to