summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shared-core/nv40_graph.c3
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;