diff options
author | Ben Skeggs <darktama@iinet.net.au> | 2007-01-08 12:50:44 +1100 |
---|---|---|
committer | Ben Skeggs <darktama@iinet.net.au> | 2007-01-08 12:50:44 +1100 |
commit | 26bf6d9b5b5be19973f6da4f5ed292c7f83de099 (patch) | |
tree | c9ad6faac478b514647db8f51afdded4667f8f22 | |
parent | 128d87a3dd26b1c633dac3fe0f0d5e9190f11d53 (diff) |
nouveau: oops
-rw-r--r-- | shared-core/nv40_graph.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/shared-core/nv40_graph.c b/shared-core/nv40_graph.c index 45c451f3..f5469f8f 100644 --- a/shared-core/nv40_graph.c +++ b/shared-core/nv40_graph.c @@ -388,8 +388,7 @@ nv40_graph_context_create(drm_device_t *dev, int channel) unsigned int ctx_size; int i, chipset; - chipset = (NV_READ(NV_PMC_BOOT_0) & 0x0ff00000) >> 24; - + chipset = (NV_READ(NV_PMC_BOOT_0) & 0x0ff00000) >> 20; switch (chipset) { case 0x40: ctx_size = NV40_GRCTX_SIZE; |