We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5247f05 commit 4a76680Copy full SHA for 4a76680
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
@@ -3764,7 +3764,8 @@ static int gfx_v9_0_hw_fini(void *handle)
3764
{
3765
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
3766
3767
- amdgpu_irq_put(adev, &adev->gfx.cp_ecc_error_irq, 0);
+ if (amdgpu_ras_is_supported(adev, AMDGPU_RAS_BLOCK__GFX))
3768
+ amdgpu_irq_put(adev, &adev->gfx.cp_ecc_error_irq, 0);
3769
amdgpu_irq_put(adev, &adev->gfx.priv_reg_irq, 0);
3770
amdgpu_irq_put(adev, &adev->gfx.priv_inst_irq, 0);
3771
0 commit comments