+3
−1
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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:
Puranam V G Tejaswi <pvgtejas@codeaurora.org>