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

Skip to content
Commit 1939da95 authored by Puranam V G Tejaswi's avatar Puranam V G Tejaswi
Browse files

msm: kgsl: correct per process stat maintenance



In functions like gpumem_alloc_entry(), per process
stats are updated after kgsl_mem_entry_attach_process()
returns success. But in case of failure, per process
stats are decremented, though they are not incremented.
Fix this by isolating stat updation from
kgsl_mem_entry_detach_process(). Also take into account
the memory from sparse allocations.

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