projects
/
platform
/
core
/
uifw
/
libtdm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be738dc
)
tdm_output: execute mutex unlock before call direct commit handler
16/209916/1
author
Junkyeong Kim
<jk0430.kim@samsung.com>
Fri, 12 Jul 2019 08:47:29 +0000
(17:47 +0900)
committer
Junkyeong Kim
<jk0430.kim@samsung.com>
Fri, 12 Jul 2019 08:47:33 +0000
(17:47 +0900)
Change-Id: I14a8899be608cd61ae30603a5ca384d7c8da4393
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
src/tdm_output.c
patch
|
blob
|
history
diff --git
a/src/tdm_output.c
b/src/tdm_output.c
index
8272cc3
..
285887e
100644
(file)
--- a/
src/tdm_output.c
+++ b/
src/tdm_output.c
@@
-1630,8
+1630,11
@@
tdm_output_commit_internal(tdm_output *output, int sync, tdm_output_commit_handl
if (TDM_OUTPUT_DPMS_VSYNC_IS_OFF(dpms_value)) {
TDM_WRN("dpms %s. Directly call commit handler instead of commit.", tdm_dpms_str(dpms_value));
- if (func)
+ if (func) {
+ _pthread_mutex_unlock(&private_display->lock);
func(output, 0, 0, 0, user_data);
+ _pthread_mutex_lock(&private_display->lock);
+ }
}
return ret;