drm/amdgpu: fix an amdgpu_irq_put() issue in gmc_v9_0_hw_fini()
authorjsg <jsg@openbsd.org>
Tue, 13 Jun 2023 03:11:26 +0000 (03:11 +0000)
committerjsg <jsg@openbsd.org>
Tue, 13 Jun 2023 03:11:26 +0000 (03:11 +0000)
From Hamza Mahfooz
59cb2d46e177894c3554a25a3358b72d4bee31d3 in linux-6.1.y/6.1.29
922a76ba31adf84e72bc947267385be420c689ee in mainline linux

sys/dev/pci/drm/amd/amdgpu/gmc_v9_0.c

index 03c4c4d..25b3024 100644 (file)
@@ -1900,7 +1900,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;