aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.c
diff options
context:
space:
mode:
authoryipechai <[email protected]>2022-02-14 06:20:31 +0000
committerAlex Deucher <[email protected]>2022-02-17 20:59:04 +0000
commit068001b711e820184553e90f9bf2ae18fb4c2c06 (patch)
treec5691d6e7ef98d8f47317cd769a717277d639d14 /drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.c
parentdrm/amdgpu: Remove redundant calls of ras_late_init in hdp ras block (diff)
downloadkernel-068001b711e820184553e90f9bf2ae18fb4c2c06.tar.gz
kernel-068001b711e820184553e90f9bf2ae18fb4c2c06.zip
drm/amdgpu: Remove redundant calls of ras_late_init in mmhub ras block
Remove redundant calls of ras_late_init in mmhub 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_mmhub.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.c
index ede98db8c126..42413813765a 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mmhub.c
@@ -24,11 +24,6 @@
#include "amdgpu.h"
#include "amdgpu_ras.h"
-int amdgpu_mmhub_ras_late_init(struct amdgpu_device *adev, struct ras_common_if *ras_block)
-{
- return amdgpu_ras_block_late_init(adev, adev->mmhub.ras_if);
-}
-
void amdgpu_mmhub_ras_fini(struct amdgpu_device *adev)
{
if (amdgpu_ras_is_supported(adev, AMDGPU_RAS_BLOCK__MMHUB) &&