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

Skip to content
Commit ae3e1156 authored by Jeremy Gebben's avatar Jeremy Gebben
Browse files

msm: kgsl: hold a reference on pages found with memdesc_sg_virt()



The GPU could write to pages gathered with this function, so
references should be held while they are in use.
Since the function was basically a broken version of
get_user_pages(), just call that instead.

Change-Id: I5cca19e06bc94eff12d0c6e937576fd303c10ab8
Signed-off-by: default avatarJeremy Gebben <jgebben@codeaurora.org>
parent 20ef1f47
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