- This surf_mutex locking in buffer_clear
can occur deadlock problem.
Change-Id: Ibd4fc7ff312c4ab96aa0db6c69d217979cac9622
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
}
}
- tpl_gmutex_lock(&wl_egl_surface->surf_mutex);
-
status = wl_egl_buffer->status; /* update status */
/* ACQUIRED, WAITING_SIGNALED, WAITING_VBLANK, COMMITTED */
wl_egl_buffer->tbm_surface, tsq_err);
}
- tpl_gmutex_unlock(&wl_egl_surface->surf_mutex);
-
wl_egl_buffer->status = RELEASED;
tpl_gmutex_unlock(&wl_egl_buffer->mutex);