commit | 8706398bf8841868d4e56fc924a5edcd3f156243 | [log] [tgz] |
---|---|---|
author | Ben Skeggs <bskeggs@redhat.com> | Mon Apr 11 16:37:44 2011 +1000 |
committer | Ben Skeggs <bskeggs@redhat.com> | Wed Apr 20 08:50:40 2011 +1000 |
tree | 14ca8b84d59e45130006fff7ffaf4e0d61f8ae41 | |
parent | 01d153326ecd81ed77395f1699a30af416cf77ab [diff] |
drm/nouveau: populate ttm_alloced with false, when it's not Caught with kmemcheck on unrelated business. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
diff --git a/drivers/gpu/drm/nouveau/nouveau_sgdma.c b/drivers/gpu/drm/nouveau/nouveau_sgdma.c index fc29244..4bce801 100644 --- a/drivers/gpu/drm/nouveau/nouveau_sgdma.c +++ b/drivers/gpu/drm/nouveau/nouveau_sgdma.c
@@ -55,6 +55,7 @@ be->func->clear(be); return -EFAULT; } + nvbe->ttm_alloced[nvbe->nr_pages] = false; } nvbe->nr_pages++;