summaryrefslogtreecommitdiff
path: root/shared-core/nouveau_state.c
diff options
context:
space:
mode:
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;
}