drm/nouveau: Remove duplicate poll_enable() in pmops_runtime_suspend()
authorLyude Paul <lyude@redhat.com>
Wed, 15 Aug 2018 19:00:12 +0000 (15:00 -0400)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 6 Sep 2018 20:54:26 +0000 (06:54 +1000)
commit611ce855420a6e8b9ff47af5f47431d52c7709f8
tree63a109a185a35b0b3b10b8b02923d26d915fa788
parentd77ef138ff572409ab93d492e5e6c826ee6fb21d
drm/nouveau: Remove duplicate poll_enable() in pmops_runtime_suspend()

Since actual hotplug notifications don't get disabled until
nouveau_display_fini() is called, all this will do is cause any hotplugs
that happen between this drm_kms_helper_poll_disable() call and the
actual hotplug disablement to potentially be dropped if ACPI isn't
around to help us.

Signed-off-by: Lyude Paul <lyude@redhat.com>
Acked-by: Karol Herbst <kherbst@redhat.com>
Acked-by: Daniel Vetter <daniel@ffwll.ch>
Cc: stable@vger.kernel.org
Cc: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_drm.c