mirror of https://gitee.com/openkylin/linux.git
drm/nouveau/fb: ram impl does not have an engine
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
8c237fdf11
commit
9d18cdbb09
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue