summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorMaarten Maathuis <madman2003@gmail.com>2008-06-25 15:27:07 +0200
committerMaarten Maathuis <madman2003@gmail.com>2008-06-25 15:27:07 +0200
commit4d85d5d25116304e476849ee64c206ffb3a7f372 (patch)
tree5da1e445685b6460cebc3250a949e0360fd05000 /shared-core
parent09b67dda0bc040860aedce4a2d28bce1c80e56d6 (diff)
NV50: i misunderstood NOUVEAU_MEM_INTERNAL, so remove it
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/nouveau_mem.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/shared-core/nouveau_mem.c b/shared-core/nouveau_mem.c
index 4acd6bd6..46b6e4d6 100644
--- a/shared-core/nouveau_mem.c
+++ b/shared-core/nouveau_mem.c
@@ -742,9 +742,6 @@ void nouveau_mem_free(struct drm_device* dev, struct mem_block* block)
if (crtc->fb->block == block) {
crtc->fb->block = NULL;
- /* this will force a lut change next time a fb is loaded */
- crtc->lut->depth = 0;
-
if (!crtc->blanked)
crtc->blank(crtc, TRUE);
}