aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_drv.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_drv.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_drv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.c b/drivers/gpu/drm/nouveau/nouveau_drv.c
index cb357ab3670..e4485404892 100644
--- a/drivers/gpu/drm/nouveau/nouveau_drv.c
+++ b/drivers/gpu/drm/nouveau/nouveau_drv.c
@@ -178,7 +178,8 @@ nouveau_pci_suspend(struct pci_dev *pdev, pm_message_t pm_state)
178 if (dev->switch_power_state == DRM_SWITCH_POWER_OFF) 178 if (dev->switch_power_state == DRM_SWITCH_POWER_OFF)
179 return 0; 179 return 0;
180 180
181 drm_kms_helper_poll_disable(dev); 181 NV_INFO(dev, "Disabling display...\n");
182 nouveau_display_fini(dev);
182 183
183 NV_INFO(dev, "Disabling fbcon...\n"); 184 NV_INFO(dev, "Disabling fbcon...\n");
184 nouveau_fbcon_set_suspend(dev, 1); 185 nouveau_fbcon_set_suspend(dev, 1);
@@ -357,8 +358,7 @@ nouveau_pci_resume(struct pci_dev *pdev)
357 nouveau_fbcon_set_suspend(dev, 0); 358 nouveau_fbcon_set_suspend(dev, 0);
358 nouveau_fbcon_zfill_all(dev); 359 nouveau_fbcon_zfill_all(dev);
359 360
360 engine->display.init(dev); 361 nouveau_display_init(dev);
361 drm_kms_helper_poll_enable(dev);
362 362
363 /* Force CLUT to get re-loaded during modeset */ 363 /* Force CLUT to get re-loaded during modeset */
364 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { 364 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) {