summaryrefslogtreecommitdiff
path: root/drm/nouveau_sgdma.c
diff options
context:
space:
mode:
Diffstat (limited to 'drm/nouveau_sgdma.c')
-rw-r--r--drm/nouveau_sgdma.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drm/nouveau_sgdma.c b/drm/nouveau_sgdma.c
index 01707e7de..3274eda02 100644
--- a/drm/nouveau_sgdma.c
+++ b/drm/nouveau_sgdma.c
@@ -38,6 +38,7 @@ nv04_sgdma_bind(struct ttm_tt *ttm, struct ttm_mem_reg *mem)
node->pages = nvbe->ttm.dma_address;
}
node->size = (mem->num_pages << PAGE_SHIFT) >> 12;
+ node->page_shift = PAGE_SHIFT;
nouveau_vm_map(&node->vma[0], node);
nvbe->node = node;