aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephane Marchesin <marchesin@icps.u-strasbg.fr>2008-01-21 21:01:28 +0100
committerStephane Marchesin <marchesin@icps.u-strasbg.fr>2008-01-21 21:01:28 +0100
commit641c9a2ecccb4fd51e2453c18df5d1e6a209d6e3 (patch)
treec0ba14099f09502281f4b0d255796140bf07ee7f
parentc6f175cbea1dba3fc26426243acc55b89b8a8064 (diff)
nouveau: new card family for old card designs.
-rw-r--r--shared-core/nouveau_state.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/shared-core/nouveau_state.c b/shared-core/nouveau_state.c
index 8fe128c5..230090f1 100644
--- a/shared-core/nouveau_state.c
+++ b/shared-core/nouveau_state.c
@@ -498,7 +498,10 @@ int nouveau_load(struct drm_device *dev, unsigned long flags)
iounmap(regs);
- if (architecture >= 0x50) {
+ if (architecture >= 0x60) {
+ /* FIXME we need to figure out who's who for NV6x */
+ dev_priv->card_type = NV_44;
+ } else if (architecture >= 0x50) {
dev_priv->card_type = NV_50;
} else if (architecture >= 0x40) {
uint8_t subarch = architecture & 0xf;