summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2010-09-13 09:58:37 +1000
committerBen Skeggs <bskeggs@redhat.com>2010-09-24 16:26:35 +1000
commitb6fd780791e9189b781e27a443d47bd21ce5145f (patch)
tree4941bd38350868270598af6a9202f74923784511 /drivers/gpu
parent17b20348ea94a92a54898c518b514c564d12e4c3 (diff)
downloadop-kernel-dev-b6fd780791e9189b781e27a443d47bd21ce5145f.zip
op-kernel-dev-b6fd780791e9189b781e27a443d47bd21ce5145f.tar.gz
drm/nouveau: zero dummy page
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_sgdma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_sgdma.c b/drivers/gpu/drm/nouveau/nouveau_sgdma.c
index c0b7965..7f028fe 100644
--- a/drivers/gpu/drm/nouveau/nouveau_sgdma.c
+++ b/drivers/gpu/drm/nouveau/nouveau_sgdma.c
@@ -242,7 +242,7 @@ nouveau_sgdma_init(struct drm_device *dev)
}
dev_priv->gart_info.sg_dummy_page =
- alloc_page(GFP_KERNEL|__GFP_DMA32);
+ alloc_page(GFP_KERNEL|__GFP_DMA32|__GFP_ZERO);
if (!dev_priv->gart_info.sg_dummy_page) {
nouveau_gpuobj_ref(NULL, &gpuobj);
return -ENOMEM;
OpenPOWER on IntegriCloud