Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0233fba2 authored by Ioannis Ilkos's avatar Ioannis Ilkos Committed by Suren Baghdasaryan
Browse files

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
parent ce0d6a33
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment