From: jsg Date: Tue, 13 Jun 2023 03:11:26 +0000 (+0000) Subject: drm/amdgpu: fix an amdgpu_irq_put() issue in gmc_v9_0_hw_fini() X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=4d07fdf0fbc333c76fda6d5f363a8694cbc7500c;p=openbsd drm/amdgpu: fix an amdgpu_irq_put() issue in gmc_v9_0_hw_fini() From Hamza Mahfooz 59cb2d46e177894c3554a25a3358b72d4bee31d3 in linux-6.1.y/6.1.29 922a76ba31adf84e72bc947267385be420c689ee in mainline linux --- diff --git a/sys/dev/pci/drm/amd/amdgpu/gmc_v9_0.c b/sys/dev/pci/drm/amd/amdgpu/gmc_v9_0.c index 03c4c4d4522..25b3024d112 100644 --- a/sys/dev/pci/drm/amd/amdgpu/gmc_v9_0.c +++ b/sys/dev/pci/drm/amd/amdgpu/gmc_v9_0.c @@ -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;