This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Cap the GPU memory usage for mali kernel driver

Does the current r19 mali driver support capping the memory usage ?

I am looking at some of the memory stats for the mali driver and I see that the memory can grow till system runs out of memory: 

cat gpu_memory                                                                                     

mali0                  30117

  kctx-0xe4bff000      29066        1876

  kctx-0xe5b97000        144        1208

  kctx-0xe9fba000        629         797

  kctx-0xe3b92000        278         295

This is especially bad since this memory is not accounted as process memory. 

Regards,

Rob