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

Skip to content
Commit f53a74b2 authored by Xiaoming Zhou's avatar Xiaoming Zhou
Browse files

msm: mdss: fix a dead-lock issue on 8x10



The shutdown function involves two seperate steps: shut down
the dma and unset the overlay.   Due to the use of the mutex,
a UI update thread can comes in between the two steps.   Futher,
the UI update thread does not hold the mutex while trying to
check the display status.   This results a dead-lock: UI update
thread tries to wait for vsync event, while the display has already
been shut-down.

Change-Id: Ib1242c60605a85441af78dcdc75a69a209dec7d1
Signed-off-by: default avatarXiaoming Zhou <zhoux@codeaurora.org>
parent 91df8430
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