aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.c
diff options
context:
space:
mode:
authoryipechai <[email protected]>2022-02-14 08:04:08 +0000
committerAlex Deucher <[email protected]>2022-03-02 23:40:06 +0000
commitf578a37d19c65361e141735cdcb691d3930b8647 (patch)
tree2b8af3dd68ebc69bc23b5179a4725da5858dd9c7 /drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.c
parentdrm/amdgpu: Remove redundant calls of amdgpu_ras_block_late_fini in mmhub ras... (diff)
downloadkernel-f578a37d19c65361e141735cdcb691d3930b8647.tar.gz
kernel-f578a37d19c65361e141735cdcb691d3930b8647.zip
drm/amdgpu: Remove redundant calls of amdgpu_ras_block_late_fini in nbio ras block
Remove redundant calls of amdgpu_ras_block_late_fini in nbio ras block. Signed-off-by: yipechai <[email protected]> Reviewed-by: Tao Zhou <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.c
index 54a5a15272c1..37d779b8e4a6 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.c
@@ -43,10 +43,3 @@ late_fini:
amdgpu_ras_block_late_fini(adev, ras_block);
return r;
}
-
-void amdgpu_nbio_ras_fini(struct amdgpu_device *adev, struct ras_common_if *ras_block)
-{
- if (amdgpu_ras_is_supported(adev, AMDGPU_RAS_BLOCK__PCIE_BIF) &&
- ras_block)
- amdgpu_ras_block_late_fini(adev, ras_block);
-}