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

Commit 31a515b1 authored by Ioannis Ilkos's avatar Ioannis Ilkos Committed by Automerger Merge Worker
Browse files

Merge "Switch the SystemMemory atom to use the dmabuf interface for ion" into sc-dev am: 1e27b946

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13853985

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I9ef74cff5e80a8f6bf7ea6a21d25f7813a3ab681
parents 38836a67 1e27b946
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@ final class SystemMemoryUtil {
    private SystemMemoryUtil() {}

    static Metrics getMetrics() {
        int totalIonKb = (int) Debug.getIonHeapsSizeKb();
        int totalIonKb = (int) Debug.getDmabufHeapTotalExportedKb();
        int gpuTotalUsageKb = (int) Debug.getGpuTotalUsageKb();
        int gpuDmaBufUsageKb = (int) Debug.getGpuDmaBufUsageKb();
        int dmaBufTotalExportedKb = (int) Debug.getDmabufTotalExportedKb();