Commit cfd8be08 authored by Ben Skeggs's avatar Ben Skeggs
Browse files

drm/nouveau: fix oops on pre-semaphore hardware


Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent ffbc559b
......@@ -530,7 +530,8 @@ nouveau_fence_channel_init(struct nouveau_channel *chan)
nouveau_gpuobj_ref(NULL, &obj);
if (ret)
return ret;
} else {
} else
if (USE_SEMA(dev)) {
/* map fence bo into channel's vm */
ret = nouveau_bo_vma_add(dev_priv->fence.bo, chan->vm,
&chan->fence.vma);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment