commit | e2584fa02cbb93b14e4616808cc4e79def172017 | [log] [tgz] |
---|---|---|
author | Kaushal Sanadhya <quic_ksanadhy@quicinc.com> | Wed Nov 29 23:01:37 2023 +0530 |
committer | Harshitha Sai Neelati <quic_hsaineel@quicinc.com> | Fri Dec 29 18:29:23 2023 +0530 |
tree | 0cf2507470413b41413f268f7f7518f7d1e8b2cd | |
parent | ec67c882a50c4cf6a3e03f8ebd57830697df3792 [diff] |
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: Lynus Vaz <quic_lvaz@quicinc.com> Signed-off-by: Kaushal Sanadhya <quic_ksanadhy@quicinc.com>