提交 43e6e51c 编写于 作者: B Ben Skeggs

drm/nv50/disp: inform core when we're not creating a new context

Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
上级 bdd4e843
......@@ -719,7 +719,7 @@ nv50_disp_data_ctor(struct nouveau_object *parent,
if (nv_mclass(parent) != NV_DEVICE_CLASS) {
atomic_inc(&parent->refcount);
*pobject = parent;
return 0;
return 1;
}
/* allocate display hardware to client */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册