aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.c
diff options
context:
space:
mode:
authoryipechai <[email protected]>2022-02-14 06:17:19 +0000
committerAlex Deucher <[email protected]>2022-02-17 20:59:04 +0000
commit72b3588e27feef96be6993d493c8c76a13bf8eba (patch)
tree8f84b85a3397947f5b0605388ab8c9351d475cbb /drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.c
parentdrm/amdgpu: Modify .ras_late_init function pointer parameter (diff)
downloadkernel-72b3588e27feef96be6993d493c8c76a13bf8eba.tar.gz
kernel-72b3588e27feef96be6993d493c8c76a13bf8eba.zip
drm/amdgpu: Remove redundant calls of ras_late_init in hdp ras block
Remove redundant calls of ras_late_init in hdp 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_hdp.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.c
index 70a096160998..b7fbc114a175 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.c
@@ -24,11 +24,6 @@
#include "amdgpu.h"
#include "amdgpu_ras.h"
-int amdgpu_hdp_ras_late_init(struct amdgpu_device *adev, struct ras_common_if *ras_block)
-{
- return amdgpu_ras_block_late_init(adev, adev->hdp.ras_if);
-}
-
void amdgpu_hdp_ras_fini(struct amdgpu_device *adev)
{
if (amdgpu_ras_is_supported(adev, AMDGPU_RAS_BLOCK__HDP) &&