Use tpl_gcond_timed_wait to prevent deadlock. 92/254792/1
authorJoonbum Ko <joonbum.ko@samsung.com>
Wed, 3 Mar 2021 03:18:49 +0000 (12:18 +0900)
committerJoonbum Ko <joonbum.ko@samsung.com>
Tue, 9 Mar 2021 08:53:07 +0000 (17:53 +0900)
commitd76e6e95bdae459e26b18e7d05f68896b22d97f0
treef07411c33ba8f1f5c22ce9ab2caae3c19e94c0a1
parenta7f4ebadd50667726c24a8327c4d2339427b922c
Use tpl_gcond_timed_wait to prevent deadlock.

 - There may be cases where the ddk terminates
  without sending a fence release signal.
 - In such a case, waiting for signaled with
  tpl_gcond_wait() may result in deadlock.
 - The newly added tpl_gcond_timed_wait() is used to
  force release if a signal does not come within 16ms.

Change-Id: I11801bb9f8ff4450a00b12656694940e28121a69
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
src/tpl_wl_egl.c