drm/vmwgfx: unlock on error path in vmw_execbuf_process()
Subsystems (4)
PATCH 1/1 drm/vmwgfx: unlock on error path in vmw_execbuf_process()
There is a missing unlock on error here.
Fixes 30f82d816d2d ('drm/vmwgfx: Reemit context bindings when necessary v2')
Signed-off-by Dan Carpenter <[email protected]>
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c +1 -1
@@ -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);
Quoted 10 lines · Dan Carpenter
There is a missing unlock on error here.
Fixes 30f82d816d2d ('drm/vmwgfx: Reemit context bindings when necessary v2')Signed-off-by Dan Carpenter <[email protected]>drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c +0
-0
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c int vmw_execbuf_process(struct drm_file *file_priv, · line 2475
Quoted 8 lines
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c +1
-1@@ -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);
Dan, thanks,
Reviewed-by Thomas Hellstrom <[email protected]>
Queued for next vmwgfx-fixes pull.
/Thomas