mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
drm/vmwgfx: unlock on error path in vmw_execbuf_process()
There is a missing unlock on error here.
Fixes: 30f82d816d ('drm/vmwgfx: Reemit context bindings when necessary v2')
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Thomas Hellstrom <[email protected]>
This commit is contained in:
parent
857aea1c57
commit
b2ad9881d6
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue