提交 b2ad9881 编写于 作者: D Dan Carpenter 提交者: Thomas Hellstrom

drm/vmwgfx: unlock on error path in vmw_execbuf_process()

There is a missing unlock on error here.

Fixes: 30f82d81 ('drm/vmwgfx: Reemit context bindings when necessary v2')
Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: NThomas Hellstrom <thellstrom@vmware.com>
上级 857aea1c
......@@ -2469,7 +2469,7 @@ int vmw_execbuf_process(struct drm_file *file_priv,
if (dev_priv->has_mob) {
ret = vmw_rebind_contexts(sw_context);
if (unlikely(ret != 0))
goto out_err;
goto out_unlock_binding;
}
cmd = vmw_fifo_reserve(dev_priv, command_size);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册