diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2011-10-30 09:04:31 -0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-12-21 04:01:27 -0500 |
commit | 6805979fa9090b2c69c645cf19bba9a2849f336b (patch) | |
tree | 94e9219e1f17092d64342203d5b1dccc00ecd0f5 | |
parent | 06784090ecb3f925616fc797164a74b03d5c0968 (diff) |
drm/nv50/pm: 0x84/0x86 can't use "1" for nvclk src, need 0x50 method
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
-rw-r--r-- | drivers/gpu/drm/nouveau/nv50_pm.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nv50_pm.c b/drivers/gpu/drm/nouveau/nv50_pm.c index 53b6c6c75744..ab8cfad5a9b0 100644 --- a/drivers/gpu/drm/nouveau/nv50_pm.c +++ b/drivers/gpu/drm/nouveau/nv50_pm.c | |||
@@ -562,8 +562,11 @@ nv50_pm_clocks_set(struct drm_device *dev, void *data) | |||
562 | } | 562 | } |
563 | nv_mask(dev, 0x00c040, 0x0c000c00, info->amast); | 563 | nv_mask(dev, 0x00c040, 0x0c000c00, info->amast); |
564 | 564 | ||
565 | /* core/shader: switch core to dom6, shader to hclk */ | 565 | /* core/shader: make sure sclk/nvclk are disconnected from their |
566 | if (dev_priv->chipset == 0x50) | 566 | * plls (nvclk to dom6, sclk to hclk), modify the plls, and |
567 | * reconnect sclk/nvclk to their new clock source | ||
568 | */ | ||
569 | if (dev_priv->chipset < 0x92) | ||
567 | nv_mask(dev, 0x00c040, 0x001000b0, 0x00100080); /* grrr! */ | 570 | nv_mask(dev, 0x00c040, 0x001000b0, 0x00100080); /* grrr! */ |
568 | else | 571 | else |
569 | nv_mask(dev, 0x00c040, 0x000000b3, 0x00000081); | 572 | nv_mask(dev, 0x00c040, 0x000000b3, 0x00000081); |