Skip to content

Commit

Permalink
drm/nv50/pm: only touch 0x611200 on nv92-
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  • Loading branch information
Ben Skeggs committed Dec 21, 2011
1 parent 8b5f4d0 commit d249156
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions drivers/gpu/drm/nouveau/nv50_pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -594,8 +594,10 @@ nv50_pm_clocks_set(struct drm_device *dev, void *data)
}

/* disable display */
nv_wr32(dev, 0x611200, 0x00003300);
udelay(100);
if (dev_priv->chipset >= 0x92) {
nv_wr32(dev, 0x611200, 0x00003300);
udelay(100);
}

/* prepare ram for reclocking */
nv_wr32(dev, 0x1002d4, 0x00000001); /* precharge */
Expand All @@ -617,7 +619,8 @@ nv50_pm_clocks_set(struct drm_device *dev, void *data)
udelay(100);

/* re-enable display */
nv_wr32(dev, 0x611200, 0x00003330);
if (dev_priv->chipset >= 0x92)
nv_wr32(dev, 0x611200, 0x00003330);

goto resume;
error:
Expand Down

0 comments on commit d249156

Please sign in to comment.