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

Skip to content
Commit f0ed6c2c authored by Siva Kumar Akkireddi's avatar Siva Kumar Akkireddi
Browse files

msm: mhi_dev: Redesign MHI driver async path



To handle bursty traffic the following changes are done
in the asynchronous read/write path in the MHI driver:
* Queue the transfer completion event within the write
  API instead of the transfer completion callback.
* When conditions are met, flush the completion events (schedule dma)
  to host from within the write API.
* Switch to a circular buffer to hold the completion events
  instead of a linked list of buffers.
* Set the size of the completion event buffer equal to the
  channel event ring size.

Change-Id: I3cbc9cb6a2c040825c4b16ef4fb758bf95c7e642
Signed-off-by: default avatarSiva Kumar Akkireddi <sivaa@codeaurora.org>
parent 11ae02d0
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