提交 4534a2af 编写于 作者: B Ben Skeggs

drm/nouveau/fb: remove some (now) unnecessary hacks

Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
上级 281d1bbd
......@@ -135,8 +135,6 @@ nouveau_fb_create_(struct nouveau_object *parent, struct nouveau_object *engine,
return ret;
}
atomic_dec(&ram->parent->refcount);
atomic_dec(&ram->engine->refcount);
pfb->ram = (void *)ram;
if (!nouveau_mm_initialised(&pfb->vram)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册