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

Skip to content
Commit 0cc2b6ba authored by Puranam V G Tejaswi's avatar Puranam V G Tejaswi
Browse files

msm: kgsl: fix accounting of memory mapped to userspace



The mapsize of kgsl_memdesc and gpumem_mapped of process are
incremented only in vmfault handler. But for cache modes
write through and write back, pages are inserted in kgsl_mmap.
So account for those mappings also in gpumem_mapped.

Change-Id: I98e29b28fa6fd2915b03bdcb9c655015a926d0eb
Signed-off-by: default avatarPuranam V G Tejaswi <pvgtejas@codeaurora.org>
parent 29444f60
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