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