Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 179878
b: refs/heads/master
c: 1dee7a9
h: refs/heads/master
v: v3
  • Loading branch information
Ben Skeggs committed Jan 10, 2010
1 parent 22442a0 commit 9f6d1f2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 234896a7671c23233230622728f6942b3d1c098e
refs/heads/master: 1dee7a930bfddd69825fca3e3f9541c8a5333876
5 changes: 4 additions & 1 deletion trunk/drivers/gpu/drm/nouveau/nouveau_state.c
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,10 @@ int nouveau_load(struct drm_device *dev, unsigned long flags)
dev_priv->chipset = (reg0 & 0xff00000) >> 20;
/* NV04 or NV05 */
} else if ((reg0 & 0xff00fff0) == 0x20004000) {
dev_priv->chipset = 0x04;
if (reg0 & 0x00f00000)
dev_priv->chipset = 0x05;
else
dev_priv->chipset = 0x04;
} else
dev_priv->chipset = 0xff;

Expand Down

0 comments on commit 9f6d1f2

Please sign in to comment.