diff options
author | yipechai <YiPeng.Chai@amd.com> | 2022-02-14 15:46:32 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-03-02 18:40:05 -0500 |
commit | 1f211a827cbda87bd0ec145a1f44f2615c3f56d3 (patch) | |
tree | d246b2ed52f730eba5f1bf19052e1e604615d0f9 /drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | |
parent | 667c7091a39e8b360d34f37aed5f8dd85bdc45f7 (diff) | |
download | linux-1f211a827cbda87bd0ec145a1f44f2615c3f56d3.tar.gz linux-1f211a827cbda87bd0ec145a1f44f2615c3f56d3.tar.bz2 linux-1f211a827cbda87bd0ec145a1f44f2615c3f56d3.zip |
drm/amdgpu: centrally calls the .ras_fini function of all ras blocks
centrally calls the .ras_fini function of all ras blocks.
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/gfx_v9_0.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c index e8446967a4d4..dc6e6fe6c978 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c @@ -2432,9 +2432,6 @@ static int gfx_v9_0_sw_fini(void *handle) int i; struct amdgpu_device *adev = (struct amdgpu_device *)handle; - if (adev->gfx.ras && adev->gfx.ras->ras_block.ras_fini) - adev->gfx.ras->ras_block.ras_fini(adev, adev->gfx.ras_if); - for (i = 0; i < adev->gfx.num_gfx_rings; i++) amdgpu_ring_fini(&adev->gfx.gfx_ring[i]); for (i = 0; i < adev->gfx.num_compute_rings; i++) |