summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorSanthosh Punugu <spunug@codeaurora.org>2016-10-27 15:19:57 +0530
committerSanthosh Punugu <spunug@codeaurora.org>2016-11-09 21:37:54 +0530
commit4dbfc380816bcd863fea15eeec5198ad98486215 (patch)
tree434992e3393e84d5e5adc1c683ce3ec3d7add6c8 /lib/mpi/mpiutil.c
parent89462e23432d52a6e3ffd6b2fb3419742d01f5ea (diff)
msm: kgsl: add egl_surface/egl_image usage count in debugfs
Add more information to the debugfs kgsl/proc/<pid>/mem which will allow memtrack to correctly assign allocated ion buffer memory to a process. The additional columns show the number of kgsl_mem_entries which have a usage of egl_image (or) egl_surface. When attaching a dma_buf to kgsl, use the dma_buf_attachment's (void*)priv to point back to the kgsl_mem_entry. This makes it possible to iterate through all attachments on a dma_buf and gather statistics from each kgsl_mem_entry associated with the dma_buf. CRs-Fixed: 1073673 Change-Id: I1ef3bd0da3f74fa41074021699b2226c48bde9c3 Signed-off-by: Santhosh Punugu <spunug@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions