diff options
author | 2022-01-11 15:01:39 +0800 | |
---|---|---|
committer | 2022-05-06 10:36:13 -0400 | |
commit | 0c1e5527e0fcf2b46e8c9e3032cf8b13170bce50 (patch) | |
tree | 9f99cd56a2de363ad44f522be75988d1d983b880 | |
parent | drm/amdgpu: add the files of NBIO v7.7 block (diff) | |
download | wireguard-linux-0c1e5527e0fcf2b46e8c9e3032cf8b13170bce50.tar.xz wireguard-linux-0c1e5527e0fcf2b46e8c9e3032cf8b13170bce50.zip |
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: Xiaojian Du <Xiaojian.Du@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c index 7ffbe38450cc..2188b9277a6d 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c @@ -53,6 +53,7 @@ #include "nbio_v2_3.h" #include "nbio_v4_3.h" #include "nbio_v7_2.h" +#include "nbio_v7_7.h" #include "hdp_v5_0.h" #include "hdp_v6_0.h" #include "nv.h" @@ -2200,6 +2201,10 @@ int amdgpu_discovery_set_ip_blocks(struct amdgpu_device *adev) adev->nbio.funcs = &nbio_v4_3_funcs; adev->nbio.hdp_flush_reg = &nbio_v4_3_hdp_flush_reg; 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: break; } |