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

Skip to content
Commit ab30b65f authored by Puranam V G Tejaswi's avatar Puranam V G Tejaswi
Browse files

msm: kgsl: Return a valid entry in case of secure GPU address



Currently kgsl_sharedmem_find always returns NULL in case of a secure GPU
address as the address would not be part of process pagetable. This can
lead to not freeing secure memory as part of kgsl_ioctl_sharedmem_free.
Fix this by also checking if the address lies in the secure pagetable
range before returning NULL.

Change-Id: I79b5686a8fcaf580fc79b8f528b91c987f9138a9
Signed-off-by: default avatarPuranam V G Tejaswi <pvgtejas@codeaurora.org>
parent 9efe49ec
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