Skip to content

Commit

Permalink
drm/nouveau: restore performance mode a bit later.
Browse files Browse the repository at this point in the history
Otherwice code that responsible for idling the card can't work.
BIOS init tables are supposed to init the clocks to correct values,
so that shouldn't cause any problems (we don't reclock by default anyway)

Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  • Loading branch information
Maxim Levitsky authored and Ben Skeggs committed Dec 21, 2011
1 parent 4bfb94a commit 71d91f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/gpu/drm/nouveau/nouveau_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,6 @@ nouveau_pci_resume(struct pci_dev *pdev)
if (ret)
return ret;

nouveau_pm_resume(dev);

if (dev_priv->gart_info.type == NOUVEAU_GART_AGP) {
ret = nouveau_mem_init_agp(dev);
if (ret) {
Expand Down Expand Up @@ -339,6 +337,8 @@ nouveau_pci_resume(struct pci_dev *pdev)
}
}

nouveau_pm_resume(dev);

NV_INFO(dev, "Restoring mode...\n");
list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) {
struct nouveau_framebuffer *nouveau_fb;
Expand Down

0 comments on commit 71d91f6

Please sign in to comment.