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

Commit 71c4627a authored by Zhen Kong's avatar Zhen Kong
Browse files

qseecom: make change to support sg list entry number larger than 512



qseecom_send_modfd_cmd_64 converts non-contiguous ION memory fd to
scatter-gather physical address list, and supports up to 512 SG list
entries. Now, 512 is not enough if client wants to send large data
in a fragmented system. In this change, if SG list entry number is
larger than 512, we will allocate a new contiguous kernel buffer,
then save all SG entries into this new buffer.

Change-Id: Id90eefb98b63bf16db755dae8e1482e448090f47
Signed-off-by: default avatarZhen Kong <zkong@codeaurora.org>
parent da830b29
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