aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.c
diff options
context:
space:
mode:
authoryipechai <[email protected]>2022-02-17 07:02:32 +0000
committerAlex Deucher <[email protected]>2022-03-02 23:40:06 +0000
commitaa8e65dfc75f684cd46d49f71453ea3512a1e770 (patch)
tree447171770d98984acdc712a62d7f6931c1b5e0cd /drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.c
parentdrm/amdgpu: Remove redundant calls of amdgpu_ras_block_late_fini in xgmi ras ... (diff)
downloadkernel-aa8e65dfc75f684cd46d49f71453ea3512a1e770.tar.gz
kernel-aa8e65dfc75f684cd46d49f71453ea3512a1e770.zip
drm/amdgpu: Remove redundant calls of amdgpu_ras_block_late_fini in hdp ras block
Remove redundant calls of amdgpu_ras_block_late_fini 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.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.c
index 5595f903c17a..3f3d92e16c2e 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_hdp.c
@@ -26,7 +26,5 @@
void amdgpu_hdp_ras_fini(struct amdgpu_device *adev, struct ras_common_if *ras_block)
{
- if (amdgpu_ras_is_supported(adev, AMDGPU_RAS_BLOCK__HDP) &&
- ras_block)
- amdgpu_ras_block_late_fini(adev, ras_block);
+
}