commit | 19af004ced0db69d9ebf3087bf4a6b93aeeeec57 | [log] [tgz] |
---|---|---|
author | Jordan Crouse <jcrouse@codeaurora.org> | Thu Sep 24 09:05:53 2020 -0600 |
committer | Joey Lin <linjoey@google.com> | Tue Jan 12 10:20:16 2021 +0000 |
tree | cccdda74225807b75041c4507a988b939515f4a9 | |
parent | 27ee9bd99eac3906ab6e6d554af5e6c0b848acd5 [diff] |
msm: kgsl: Don't allow re-importing memory owned by KGSL Don't allow IOCTL_KGSL_MAP_USER_MEM to import user memory that was already allocated and mapped by KGSL in the first place. Remapping memory never makes sense and it messes up reference counting in the pools. Bug: 175038160 Change-Id: Ic0dedbade96ac6b30dcbbb794bf57a597f1bb351 Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org> Signed-off-by: linjoey <linjoey@google.com>