Skip to content

Commit

Permalink
drm/vmwgfx: unlock on error path in vmw_execbuf_process()
Browse files Browse the repository at this point in the history
There is a missing unlock on error here.

Fixes: 30f82d8 ('drm/vmwgfx: Reemit context bindings when necessary v2')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
  • Loading branch information
Dan Carpenter authored and Thomas Hellstrom committed Feb 12, 2014
1 parent 857aea1 commit b2ad988
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b2ad988

Please sign in to comment.