drm/nouveau: switch over to new memory and vmm interfaces

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
Ben Skeggs
2017-11-01 03:56:20 +10:00
orang tua 10842ba074
melakukan d7722134b8
10 mengubah file dengan 208 tambahan dan 155 penghapusan

Melihat File

@@ -35,7 +35,7 @@ nv04_sgdma_bind(struct ttm_tt *ttm, struct ttm_mem_reg *reg)
if (ret)
return ret;
ret = nouveau_mem_map(mem, mem->cli->vm, &mem->vma[0]);
ret = nouveau_mem_map(mem, &mem->cli->vmm.vmm, &mem->vma[0]);
if (ret) {
nouveau_mem_fini(mem);
return ret;