summaryrefslogtreecommitdiff
path: root/shared-core/nouveau_state.c
diff options
context:
space:
mode:
authorStephane Marchesin <marchesin@icps.u-strasbg.fr>2006-10-12 17:31:49 +0200
committerStephane Marchesin <marchesin@icps.u-strasbg.fr>2006-10-12 17:31:49 +0200
commit7ef44b2b8dd1745f5b228e6161ebd989844c3088 (patch)
treee1e59e1b29d42dcd4d0b857a50c28829b63aa0f8 /shared-core/nouveau_state.c
parenta749d9d5b49ea0e402848bd6024e5c44826e784f (diff)
Still more work on the context switching code.
Diffstat (limited to 'shared-core/nouveau_state.c')
-rw-r--r--shared-core/nouveau_state.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/shared-core/nouveau_state.c b/shared-core/nouveau_state.c
index a015a0fe..bd70aef9 100644
--- a/shared-core/nouveau_state.c
+++ b/shared-core/nouveau_state.c
@@ -64,11 +64,6 @@ int nouveau_firstopen(struct drm_device *dev)
DRM_INFO("%lld MB of video ram detected\n",nouveau_mem_fb_amount(dev)>>20);
- if (dev_priv->card_type>=NV_40)
- dev_priv->fb_usable_size=nouveau_mem_fb_amount(dev)-560*1024;
- else
- dev_priv->fb_usable_size=nouveau_mem_fb_amount(dev)-256*1024;
-
return 0;
}