Commit b6fd7807 authored by Ben Skeggs's avatar Ben Skeggs

drm/nouveau: zero dummy page

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 17b20348
...@@ -242,7 +242,7 @@ nouveau_sgdma_init(struct drm_device *dev) ...@@ -242,7 +242,7 @@ nouveau_sgdma_init(struct drm_device *dev)
} }
dev_priv->gart_info.sg_dummy_page = 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) { if (!dev_priv->gart_info.sg_dummy_page) {
nouveau_gpuobj_ref(NULL, &gpuobj); nouveau_gpuobj_ref(NULL, &gpuobj);
return -ENOMEM; return -ENOMEM;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment