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

Commit 1a6b2764 authored by Sachin Bhayare's avatar Sachin Bhayare Committed by Krishna Manikandan
Browse files

msm: mdss: fix race condition in idle power collapse logic



MDP3 GDSC can be turned off, or power-collased for command mode panels
in static screen use-cases. In the current implementation, the power
collapse is triggered by a worker thread in the interface driver
whenever it enters the idle state.

Use mutex to protect the idle_pc access and to avoid race condition.

Change-Id: I17a824c88e374aee2404da7f57d5ba5f39e314bc
Signed-off-by: default avatarSachin Bhayare <sachin.bhayare@codeaurora.org>
parent d23a4d38
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