summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephane Marchesin <marchesin@icps.u-strasbg.fr>2008-01-21 21:11:47 +0100
committerStephane Marchesin <marchesin@icps.u-strasbg.fr>2008-01-21 21:11:47 +0100
commit616cef5ec84b97eb676ee7cc6699451d778fad3b (patch)
tree85265b35d8c2d6a3abf94128785d2097752fd7f8
parent641c9a2ecccb4fd51e2453c18df5d1e6a209d6e3 (diff)
nouveau: don't forget NV80.
-rw-r--r--shared-core/nouveau_state.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/shared-core/nouveau_state.c b/shared-core/nouveau_state.c
index 230090f1..7086a0ab 100644
--- a/shared-core/nouveau_state.c
+++ b/shared-core/nouveau_state.c
@@ -498,7 +498,9 @@ int nouveau_load(struct drm_device *dev, unsigned long flags)
iounmap(regs);
- if (architecture >= 0x60) {
+ if (architecture >= 0x80) {
+ dev_priv->card_type = NV_50;
+ } else if (architecture >= 0x60) {
/* FIXME we need to figure out who's who for NV6x */
dev_priv->card_type = NV_44;
} else if (architecture >= 0x50) {