Skip to content

Commit

Permalink
drm/nouveau: fix mtrr cleanup path
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  • Loading branch information
Ben Skeggs committed Jul 13, 2010
1 parent 946cbc8 commit baf8035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/nouveau/nouveau_mem.c
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ nouveau_mem_close(struct drm_device *dev)
drm_mtrr_del(dev_priv->fb_mtrr,
pci_resource_start(dev->pdev, 1),
pci_resource_len(dev->pdev, 1), DRM_MTRR_WC);
dev_priv->fb_mtrr = 0;
dev_priv->fb_mtrr = -1;
}
}

Expand Down

0 comments on commit baf8035

Please sign in to comment.