Skip to content

Commit 611ce85

Browse files
LyudeBen Skeggs
authored and
Ben Skeggs
committed
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 <[email protected]> Acked-by: Karol Herbst <[email protected]> Acked-by: Daniel Vetter <[email protected]> Cc: [email protected] Cc: Lukas Wunner <[email protected]> Signed-off-by: Ben Skeggs <[email protected]>
1 parent d77ef13 commit 611ce85

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/gpu/drm/nouveau/nouveau_drm.c

-1
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,6 @@ nouveau_pmops_runtime_suspend(struct device *dev)
835835
return -EBUSY;
836836
}
837837

838-
drm_kms_helper_poll_disable(drm_dev);
839838
nouveau_switcheroo_optimus_dsm();
840839
ret = nouveau_do_suspend(drm_dev, true);
841840
pci_save_state(pdev);

0 commit comments

Comments
 (0)