OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
946cbc8
)
drm/nouveau: fix mtrr cleanup path
author
Ben Skeggs
<bskeggs@redhat.com>
Thu, 8 Jul 2010 22:45:57 +0000
(08:45 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Tue, 13 Jul 2010 00:13:53 +0000
(10:13 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_mem.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nouveau_mem.c
b/drivers/gpu/drm/nouveau/nouveau_mem.c
index
5f8f95d
..
5c48b1e
100644
(file)
--- a/
drivers/gpu/drm/nouveau/nouveau_mem.c
+++ b/
drivers/gpu/drm/nouveau/nouveau_mem.c
@@
-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
;
}
}