msm: kgsl: Properly handle double mmapped memory
In some situations, the same block of memory is
mapped multiple times. Properly refcount that mapping
otherwise we could get into a situation where the mem
entry is completely dereferenced before its time.
CRs-fixed: 306942
Signed-off-by:
Jordan Crouse <jcrouse@codeaurora.org>
Loading
Please sign in to comment