NV50: i misunderstood NOUVEAU_MEM_INTERNAL, so remove it

main
Maarten Maathuis 2008-06-25 15:27:07 +02:00
parent 09b67dda0b
commit 4d85d5d251
2 changed files with 1 additions and 4 deletions

View File

@ -33,7 +33,7 @@ static int nv50_lut_alloc(struct nv50_crtc *crtc)
{
struct mem_block *block;
struct drm_file *file_priv = kzalloc(sizeof(struct drm_file), GFP_KERNEL);
uint32_t flags = NOUVEAU_MEM_INTERNAL | NOUVEAU_MEM_FB | NOUVEAU_MEM_MAPPED;
uint32_t flags = NOUVEAU_MEM_FB | NOUVEAU_MEM_MAPPED;
int rval = 0;
NV50_DEBUG("\n");

View File

@ -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);
}