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

Commit b81c4ac9 authored by Kamal Agrawal's avatar Kamal Agrawal
Browse files

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.

Change-Id: Ic0dedbade96ac6b30dcbbb794bf57a597f1bb351
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: default avatarKamal Agrawal <kamaagra@codeaurora.org>
parent dce57d81
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