msm_fb: display: synchronous UI and Video thread

Use mutex to synchronous between UI and Video thread.
Meanwhile, add yield() when at end of frame push of
UI thread to prevent UI thread from dominating cpu times.

CRs-fixed: 303246
Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
2 files changed