OSDN Git Service

nouveau: don't forget NV80.
authorStephane Marchesin <marchesin@icps.u-strasbg.fr>
Mon, 21 Jan 2008 20:11:47 +0000 (21:11 +0100)
committerStephane Marchesin <marchesin@icps.u-strasbg.fr>
Mon, 21 Jan 2008 20:11:47 +0000 (21:11 +0100)
shared-core/nouveau_state.c

index 230090f..7086a0a 100644 (file)
@@ -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) {