Commit baf8035e authored by Ben Skeggs's avatar Ben Skeggs

drm/nouveau: fix mtrr cleanup path

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 946cbc82
......@@ -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;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment