]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/gpu/drm/nouveau/core/subdev/vm/nv04.c
drm/nv04-nv40/vm: use self as parent for subobjects
[mirror_ubuntu-artful-kernel.git] / drivers / gpu / drm / nouveau / core / subdev / vm / nv04.c
index 6adbbc9cc361ac96a4938918c13f07baea32f877..ed45437167f20f99cbc6ff7513f8f8cb87aab86b 100644 (file)
@@ -110,7 +110,7 @@ nv04_vmmgr_ctor(struct nouveau_object *parent, struct nouveau_object *engine,
        if (ret)
                return ret;
 
-       ret = nouveau_gpuobj_new(parent, NULL,
+       ret = nouveau_gpuobj_new(nv_object(priv), NULL,
                                 (NV04_PDMA_SIZE / NV04_PDMA_PAGE) * 4 +
                                 8, 16, NVOBJ_FLAG_ZERO_ALLOC,
                                 &priv->vm->pgt[0].obj[0]);