Commit 0c1e5527 authored by Xiaojian Du's avatar Xiaojian Du Committed by Alex Deucher

drm/admgpu/discovery: add NBIO v7.7 into the IP discovery list

This patch is to add NBIO v7.7 into the IP discovery list.
Signed-off-by: default avatarXiaojian Du <Xiaojian.Du@amd.com>
Reviewed-by: default avatarHuang Rui <ray.huang@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 810ecd40
...@@ -53,6 +53,7 @@ ...@@ -53,6 +53,7 @@
#include "nbio_v2_3.h" #include "nbio_v2_3.h"
#include "nbio_v4_3.h" #include "nbio_v4_3.h"
#include "nbio_v7_2.h" #include "nbio_v7_2.h"
#include "nbio_v7_7.h"
#include "hdp_v5_0.h" #include "hdp_v5_0.h"
#include "hdp_v6_0.h" #include "hdp_v6_0.h"
#include "nv.h" #include "nv.h"
...@@ -2200,6 +2201,10 @@ int amdgpu_discovery_set_ip_blocks(struct amdgpu_device *adev) ...@@ -2200,6 +2201,10 @@ int amdgpu_discovery_set_ip_blocks(struct amdgpu_device *adev)
adev->nbio.funcs = &nbio_v4_3_funcs; adev->nbio.funcs = &nbio_v4_3_funcs;
adev->nbio.hdp_flush_reg = &nbio_v4_3_hdp_flush_reg; adev->nbio.hdp_flush_reg = &nbio_v4_3_hdp_flush_reg;
break; break;
case IP_VERSION(7, 7, 0):
adev->nbio.funcs = &nbio_v7_7_funcs;
adev->nbio.hdp_flush_reg = &nbio_v7_7_hdp_flush_reg;
break;
default: default:
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment