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:Kyle Piefer <kpiefer@codeaurora.org> Signed-off-by:
Divya Sharma <divyash@codeaurora.org>
Loading
Please register or sign in to comment