drm/amdgpu: fix an amdgpu_irq_put() issue in gmc_v9_0_hw_fini()
Subsystems (2)
PATCH 1/1 drm/amdgpu: fix an amdgpu_irq_put() issue in gmc_v9_0_hw_fini()
As made mention of, in commit 9128e6babf10 ("drm/amdgpu: fix amdgpu_irq_put call trace in gmc_v10_0_hw_fini") and commit c094b8923bdd ("drm/amdgpu: fix amdgpu_irq_put call trace in gmc_v11_0_hw_fini"). It is meaningless to call amdgpu_irq_put() for gmc.ecc_irq. So, remove it from gmc_v9_0_hw_fini().
Fixes 3029c855d79f ("drm/amdgpu: Fix desktop freezed after gpu-reset")
Signed-off-by Hamza Mahfooz <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +0 -1
@@ -1999,7 +1999,6 @@ static int gmc_v9_0_hw_fini(void *handle)if (adev->mmhub.funcs->update_power_gating) adev->mmhub.funcs->update_power_gating (adev, false); -amdgpu_irq_put (adev, &adev->gmc.ecc_irq,0 );amdgpu_irq_put (adev, &adev->gmc.vm_fault,0 );return 0 ;
Signature · 1 line
2.40.0
Quoted 9 lines · Hamza Mahfooz
As made mention of, in commit
9128e6babf10("drm/amdgpu: fixamdgpu_irq_putcall trace ingmc_v10_0_hw_fini") and commitc094b8923bdd("drm/amdgpu: fixamdgpu_irq_putcall trace ingmc_v11_0_hw_fini"). It is meaningless to callamdgpu_irq_put()for gmc.ecc_irq. So, remove it fromgmc_v9_0_hw_fini().Fixes 3029c855d79f ("drm/amdgpu: Fix desktop freezed after gpu-reset")Signed-off-by Hamza Mahfooz <[email protected]>
Reviewed-by Mario Limonciello <[email protected]>
Quoted 16 lines
--- drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 1 - 1 file changed, 1 deletion(-)drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +0
-1@@ -1999,7 +1999,6 @@ static int gmc_v9_0_hw_fini(void *handle)if (adev->mmhub.funcs->update_power_gating) adev->mmhub.funcs->update_power_gating (adev, false); -amdgpu_irq_put (adev, &adev->gmc.ecc_irq,0 );amdgpu_irq_put (adev, &adev->gmc.vm_fault,0 );return 0 ;