Skip to content
Commit e85c68d5 authored by Kaushal Sanadhya's avatar Kaushal Sanadhya Committed by Ij Israfil
Browse files

msm: kgsl: Do not free sharedmem if it cannot be unmapped



If sharedmem cannot be unmapped from the mmu, it can still be accessed
by the GPU. Therefore it is not safe to free the backing memory. In the
case that unmap fails, do not free it or return it to the system.

Change-Id: Iad3e86d043f129a4d71cf862865d9033d4a315e3
Signed-off-by: default avatarLynus Vaz <quic_lvaz@quicinc.com>
Signed-off-by: default avatarKaushal Sanadhya <quic_ksanadhy@quicinc.com>
Signed-off-by: ij-israfil <israfilkhan494gmail.com>
parent ac76cdbe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment