diff options
author | 2022-02-14 16:15:19 +0800 | |
---|---|---|
committer | 2022-03-02 18:40:06 -0500 | |
commit | 149d7ba1f8fe515a2a36ff95fa659720e72fe4ed (patch) | |
tree | 462d03d2eec7b589507598c889f80506120f9955 /drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | |
parent | drm/amdgpu: Remove redundant calls of amdgpu_ras_block_late_fini in hdp ras b... (diff) | |
download | linux-149d7ba1f8fe515a2a36ff95fa659720e72fe4ed.tar.gz linux-149d7ba1f8fe515a2a36ff95fa659720e72fe4ed.tar.bz2 linux-149d7ba1f8fe515a2a36ff95fa659720e72fe4ed.zip |
drm/amdgpu: Remove redundant calls of amdgpu_ras_block_late_fini in sdma ras block
Remove redundant calls of amdgpu_ras_block_late_fini in sdma ras block.
Signed-off-by: yipechai <YiPeng.Chai@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c index d1d40bbb2892..206acb6a5b20 100644 --- a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c +++ b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c @@ -2824,7 +2824,7 @@ static void sdma_v4_0_set_ras_funcs(struct amdgpu_device *adev) /* If don't define special ras_fini function, use default ras_fini */ if (!adev->sdma.ras->ras_block.ras_fini) - adev->sdma.ras->ras_block.ras_fini = amdgpu_sdma_ras_fini; + adev->sdma.ras->ras_block.ras_fini = amdgpu_ras_block_late_fini; /* If not defined special ras_cb function, use default ras_cb */ if (!adev->sdma.ras->ras_block.ras_cb) |