Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a5636d0e authored by Abhinav Kumar's avatar Abhinav Kumar Committed by Gerrit - the friendly Code Review server
Browse files

msm: mdss: add cmd_off_mtx for synchronizing vsync handler and off sequence



At present the ctl->offlock mutex is used for synchronization
between ESD thread and OFF sequence. Using the same mutex
for synchronization between add_vsync_handler() and OFF
sequence was causing unnecessary synchronization between
ESD thread and add_vsyc_handler(). To improve performance
a new mutex, cmd_off_mtx is used for the second case.

CRs-Fixed: 1051864
Change-Id: I7d0b0690672869937d82df68ea9f571023fc88d1
Signed-off-by: default avatarShalini Krishnamoorthi <shakri@codeaurora.org>
parent d48eef6e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment