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

Commit de3e123f authored by Kyle Piefer's avatar Kyle Piefer Committed by Divya Sharma
Browse files

msm: kgsl: Check again if HFI fails to find ack



When an interrupt comes to tell the host that there
is a new HFI message from the GMU, KGSL schedules
a tasklet to process the message queues.
If the message is an ack, the sender of the message
being acked is waiting for a completion to be signaled.
But when the system is very busy, the HFI tasklet might not get
to run before the completion times out.

When sending a message, check the queues one more
time before returning failure to prevent these false
instances of not receiving an ack. In order to make sure
this second check does not read the queues at the same
time as the tasklet, add a new HFI spinlock.

Change-Id: Ifba58724933db989e65f5a7d292e4b63a1fd1c5e
Signed-off-by: default avatarKyle Piefer <kpiefer@codeaurora.org>
Signed-off-by: default avatarDivya Sharma <divyash@codeaurora.org>
parent 1d74850b
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