]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau: Remove useless poll_disable() call in switcheroo_set_state()
authorLyude Paul <lyude@redhat.com>
Wed, 15 Aug 2018 19:15:12 +0000 (15:15 -0400)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 6 Sep 2018 20:54:26 +0000 (06:54 +1000)
commitc5cf835167a293064fe09d9dc40a2927d205f019
tree99a617731bdbeafb04e48eafeb09b38d31d706b4
parent2ee27052de6fa379f268a2e86af615a87b6adb92
drm/nouveau: Remove useless poll_disable() call in switcheroo_set_state()

This won't do anything but potentially make us miss hotplugs. We already
call drm_kms_helper_poll_disable() in
nouveau_pmops_suspend()->nouveau_display_suspend()->nouveau_display_fini()

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