diff --git a/.pick_status.json b/.pick_status.json index 04c14130c3a..abec8a0e427 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -1696,7 +1696,7 @@ "description": "egl/dri2: avoid undefined unlocks", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "f1efe037dfd82d95b025a3ddf58b669758b8d69a" }, diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c index 1f718b41c8f..8e2767ab311 100644 --- a/src/egl/drivers/dri2/egl_dri2.c +++ b/src/egl/drivers/dri2/egl_dri2.c @@ -2452,8 +2452,6 @@ dri2_get_sync_values_chromium(_EGLDisplay *disp, _EGLSurface *surf, if (dri2_dpy->vtbl->get_sync_values) ret = dri2_dpy->vtbl->get_sync_values(disp, surf, ust, msc, sbc); - mtx_unlock(&dri2_dpy->lock); - return ret; } @@ -2578,8 +2576,6 @@ dri2_query_surface(_EGLDisplay *disp, _EGLSurface *surf, ret = dri2_dpy->vtbl->query_surface(disp, surf, attribute, value); } - mtx_unlock(&dri2_dpy->lock); - return ret; }