drm/amdgpu: keep irq count in amdgpu_irq_disable_all
authorjsg <jsg@openbsd.org>
Thu, 24 Aug 2023 06:31:08 +0000 (06:31 +0000)
committerjsg <jsg@openbsd.org>
Thu, 24 Aug 2023 06:31:08 +0000 (06:31 +0000)
From Guchun Chen
ab63f883bfdcfffde60f18918d6c850700eac0fb in linux-6.1.y/6.1.47
8ffd6f0442674f32c048ec8dffdbc5ec67829beb in mainline linux

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

index 9190712..800dbdd 100644 (file)
@@ -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)