commit | f30df7e62e33e14f842c686302e7008663b9c3b8 | [log] [tgz] |
---|---|---|
author | Kalesh Singh <kaleshsingh@google.com> | Mon Dec 28 09:40:06 2020 -0500 |
committer | Suren Baghdasaryan <surenb@google.com> | Fri Feb 12 01:16:10 2021 +0000 |
tree | b0e8ed655ce686f08ba4bd607da19b3a2c49dcf0 | |
parent | f53b71110df571a4c785093acab765fb56eb9b2a [diff] |
Provide an interface to query dmabuf GPU allocations The DMA buffers mapped by GPU device(s) are already accounted for in the total exported dmabuf size (ionHeap) size. To remove GPU memory from lost RAM, provide an API to get only the DMA buf memory mapped by the GPU device(s). Bug: 176477627 Test: adb shell dumpsys meminfo Change-Id: Ie72f46c8de026b143629406714f413677ce6693b