drm/nouveau/fb: ram impl does not have an engine
authorBen Skeggs <bskeggs@redhat.com>
Fri, 5 Dec 2014 02:04:56 +0000 (12:04 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 22 Jan 2015 02:14:51 +0000 (12:14 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/subdev/fb/base.c

index 31869ff..090a7f2 100644 (file)
@@ -128,7 +128,7 @@ nouveau_fb_create_(struct nouveau_object *parent, struct nouveau_object *engine,
 
        pfb->memtype_valid = impl->memtype;
 
-       ret = nouveau_object_ctor(nv_object(pfb), nv_object(pfb),
+       ret = nouveau_object_ctor(nv_object(pfb), NULL,
                                  impl->ram, NULL, 0, &ram);
        if (ret) {
                nv_fatal(pfb, "error detecting memory configuration!!\n");