diff options
author | Ioannis Ilkos <ilkos@google.com> | 2021-02-15 16:58:42 +0000 |
---|---|---|
committer | Suren Baghdasaryan <surenb@google.com> | 2021-02-18 21:08:47 +0000 |
commit | 0233fba2500c58b34d76a0d5dd1cfc04fd6073b5 (patch) | |
tree | dc9adac4d3b13bc81ea41cc26e32775bb370410b /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | ce0d6a33d7c6772b35221e95dc1fc242a060a588 (diff) |
Add private gpu and total dmabuf size to SystemMemory atom
Changes:
- Transition to measuring dmabuf export size (ion
allocations are most recently implemented via dmabufs anyway, the total
ion size will be a subset of the total dmabuf exported memory)
- For supported kernels (5.4+) that have sysfs dmabuf accounting,
account for private GPU driver memory vs GPU driver dmabuf memory.
- Adjust the accounted memory calculations based on the above.
Bug: 149462065
Bug: 172201884
Test: build, statsd_testdrive
Change-Id: Ie4e4d0b4fc4495896374fbebc70e29e32469b5e3
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions