Commit b4712501 authored by Dhaval Patel's avatar Dhaval Patel Committed by Gerrit - the friendly Code Review server
Browse files

msm: mdss: remove clk off scheduling when commit pending



There can be race condition possible between Early touch
event thread and kickoff thread. For ex:
 -> Eary touch event: Turns on clock and schedule the off
    after 4 vsync cycle.
 -> Kickoff thread: Leaves the clock on
 -> Second touch event: Reschedule the clock off workque

The second touch event call scheduling the clock off
after 4 vsync cycle. On loaded system, kickoff thread
might get intruppted and get chance to rerun after
4 vysnc cycle. The clocks will be turned off for such
use cases before PP done ISR.

Change-Id: I85923146645379be1e3ccc578fc795306cd987ad
Signed-off-by: default avatarDhaval Patel <pdhaval@codeaurora.org>
parent ea41b3f8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment