summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/nouveau_state.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2011-04-12 09:20:22 +0400
committerBen Skeggs <bskeggs@redhat.com>2011-05-16 04:49:08 +0400
commit9548258fbce1e8d6fcd96bba299386f5666840ae (patch)
treeae3c0899d231359d4e40b67b5b26b92718bf551f /drivers/gpu/drm/nouveau/nouveau_state.c
parent93187450fade03e5de977af9a879683edda64a97 (diff)
downloadlinux-9548258fbce1e8d6fcd96bba299386f5666840ae.tar.xz
drm/nv50: support PMPEG on original nv50
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_state.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_state.c b/drivers/gpu/drm/nouveau/nouveau_state.c
index 3999f2526179..f316157217b5 100644
--- a/drivers/gpu/drm/nouveau/nouveau_state.c
+++ b/drivers/gpu/drm/nouveau/nouveau_state.c
@@ -620,7 +620,7 @@ nouveau_card_init(struct drm_device *dev)
if (dev_priv->card_type == NV_40)
nv40_mpeg_create(dev);
else
- if (dev_priv->card_type == NV_50 && dev_priv->chipset > 0x50 &&
+ if (dev_priv->card_type == NV_50 &&
(dev_priv->chipset < 0x98 || dev_priv->chipset == 0xa0))
nv50_mpeg_create(dev);