From: jsg Date: Thu, 24 Aug 2023 06:31:08 +0000 (+0000) Subject: drm/amdgpu: keep irq count in amdgpu_irq_disable_all X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d25b73706be52905a9ed5bd15d7bc5301c4b0895;p=openbsd drm/amdgpu: keep irq count in amdgpu_irq_disable_all From Guchun Chen ab63f883bfdcfffde60f18918d6c850700eac0fb in linux-6.1.y/6.1.47 8ffd6f0442674f32c048ec8dffdbc5ec67829beb in mainline linux --- diff --git a/sys/dev/pci/drm/amd/amdgpu/amdgpu_irq.c b/sys/dev/pci/drm/amd/amdgpu/amdgpu_irq.c index 9190712d2ec..800dbdd38ca 100644 --- a/sys/dev/pci/drm/amd/amdgpu/amdgpu_irq.c +++ b/sys/dev/pci/drm/amd/amdgpu/amdgpu_irq.c @@ -160,7 +160,6 @@ void amdgpu_irq_disable_all(struct amdgpu_device *adev) continue; for (k = 0; k < src->num_types; ++k) { - atomic_set(&src->enabled_types[k], 0); r = src->funcs->set(adev, src, k, AMDGPU_IRQ_STATE_DISABLE); if (r)