From 26bf6d9b5b5be19973f6da4f5ed292c7f83de099 Mon Sep 17 00:00:00 2001 From: Ben Skeggs Date: Mon, 8 Jan 2007 12:50:44 +1100 Subject: nouveau: oops --- shared-core/nv40_graph.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'shared-core') 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; -- cgit v1.2.3