[Lima] How to monitoring memory usage in lima?

조영준 (YoungJun Jo) youngjun at telechips.com
Mon Nov 14 07:25:47 UTC 2022


Hi Lima people,

I recently ported lima from mali-400 driver and passed all deqp confirmance tests, all thanks to lima people. But there is one thing I haven't been able to find. I've reviewed the Lima driver, but it doesn't seem to be able to get the memory being used at the driver level like the mali-400 driver. I wonder if I haven't found it or if there is no other way.
ex.
# cat /sys/kernel/debug/mali/gpu_memory
  Name (:bytes) pid        mali_mem max_mali_mem     external_mem     ump_mem     dma_mem
============================================================================
  weston             1645        3276800      12374016                   0                        0            7372800

Best Regards,
Youngjun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/lima/attachments/20221114/632a6dda/attachment.htm>


More information about the lima mailing list