projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01d1533
)
drm/nouveau: populate ttm_alloced with false, when it's not
author
Ben Skeggs
<bskeggs@redhat.com>
Mon, 11 Apr 2011 06:37:44 +0000
(16:37 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Tue, 19 Apr 2011 22:50:40 +0000
(08:50 +1000)
Caught with kmemcheck on unrelated business.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_sgdma.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/nouveau/nouveau_sgdma.c
b/drivers/gpu/drm/nouveau/nouveau_sgdma.c
index fc292443039e34a9973a163566f7fe7f00682e7e..4bce801bc588ffd04e1cdd3800e2e82ebf33008f 100644
(file)
--- a/
drivers/gpu/drm/nouveau/nouveau_sgdma.c
+++ b/
drivers/gpu/drm/nouveau/nouveau_sgdma.c
@@
-55,6
+55,7
@@
nouveau_sgdma_populate(struct ttm_backend *be, unsigned long num_pages,
be->func->clear(be);
return -EFAULT;
}
+ nvbe->ttm_alloced[nvbe->nr_pages] = false;
}
nvbe->nr_pages++;