From 9c98f2c06ea2854e6c84bb826152517afa02cebe Mon Sep 17 00:00:00 2001 From: Wesley Lee Date: Fri, 19 Jan 2024 17:39:15 -0800 Subject: [PATCH 1/3] enable ZumaPro HDR editing Bug: 345301797 Change-Id: Ieb1684a9ad3426bc3240886b95adb0425c3c085d Signed-off-by: Wesley Lee --- media_codecs_bo_c2.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/media_codecs_bo_c2.xml b/media_codecs_bo_c2.xml index 443c27e..af97b43 100644 --- a/media_codecs_bo_c2.xml +++ b/media_codecs_bo_c2.xml @@ -65,6 +65,7 @@ + From e49f89d3a2d1a36179e7ab5399659bf753a52998 Mon Sep 17 00:00:00 2001 From: Dmitry Skiba Date: Fri, 28 Jun 2024 21:14:43 +0000 Subject: [PATCH 2/3] Reland "Restrict kcompactd thread to middle/little cores." This reverts commit e252dc733cedc0c9d2a01160f24b86d210b439f5. Reason for revert: 24Q3 has been cut, relanding the original commit 9743ceeba300ab3374a93760c55ef2385bc60c4c. Change-Id: I6bcd2c7277c689201c8bf17ea9d6211b4ee35c8f Bug: 347272991 --- conf/init.zumapro.soc.rc | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/init.zumapro.soc.rc b/conf/init.zumapro.soc.rc index ac9c316..7c8efa0 100644 --- a/conf/init.zumapro.soc.rc +++ b/conf/init.zumapro.soc.rc @@ -163,6 +163,7 @@ on property:sys.boot_completed=1 # Set kswapd affinity write /sys/kernel/vendor_mm/kswapd_cpu_affinity 7f write /sys/kernel/vendor_mm/pa_kill/cpu_affinity 7f + write /sys/kernel/vendor_mm/kcompactd_cpu_affinity 7f # Restore prefer idle write /proc/vendor_sched/groups/ta/preferred_idle_mask_low 0xff From cae96e4e503faaf690da9690dd51b29215d2b5e7 Mon Sep 17 00:00:00 2001 From: Vishvam Mazumdar Date: Tue, 4 Jun 2024 18:02:35 +0000 Subject: [PATCH 3/3] Add CPU Idle Histogram Stats to dumpstate board file. This change is to allow the CPU Idle Histogram Stats to be dumped in bugreports so that there is more insight into the idle behavior of devices in the field. Test: Build/Flash Test: adb bugreport Bug: 344908619 Flag: EXEMPT bugfix Change-Id: I3b7b0d573bfd5f7e5e9f05c333b5a38940f3d8d6 Signed-off-by: Vishvam Mazumdar --- dumpstate/dump_power.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/dumpstate/dump_power.cpp b/dumpstate/dump_power.cpp index e8989f0..b77e386 100644 --- a/dumpstate/dump_power.cpp +++ b/dumpstate/dump_power.cpp @@ -1028,9 +1028,21 @@ void dumpEvtCounter() { } } +void dumpCpuIdleHistogramStats() { + const char* cpuIdleHistogramTitle = "CPU Idle Histogram"; + const char* cpuIdleHistogramFile = "/sys/kernel/metrics/cpuidle_histogram/" + "cpuidle_histogram"; + const char* cpuClusterHistogramTitle = "CPU Cluster Histogram"; + const char* cpuClusterHistogramFile = "/sys/kernel/metrics/" + "cpuidle_histogram/cpucluster_histogram"; + dumpFileContent(cpuIdleHistogramTitle, cpuIdleHistogramFile); + dumpFileContent(cpuClusterHistogramTitle, cpuClusterHistogramFile); +} + int main() { dumpPowerStatsTimes(); dumpAcpmStats(); + dumpCpuIdleHistogramStats(); dumpPowerSupplyStats(); dumpMaxFg(); dumpPowerSupplyDock();