提交 baf8035e 编写于 作者: B Ben Skeggs

drm/nouveau: fix mtrr cleanup path

Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册