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

Skip to content
Commit 769f5496 authored by Kyle Piefer's avatar Kyle Piefer
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: Ib0537af9137e5e243067519c26dc4939217b76e7
Signed-off-by: default avatarKyle Piefer <kpiefer@codeaurora.org>
parent 47cb4b24
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