Commit graph

794 commits

Author SHA1 Message Date
Kenny Root
3ba817ae3f dumpstate: add GSA logs to bugreport
Add support for reading the GSA logs sysfs file to see the GSA logs in
the bugreports we get from dogfooders.

(cherry picked from commit 09cb4227bb)

Bug: 271125313
Test: adb shell dumpstate
Change-Id: I09a2e039451b5eb8b7fa360ba03486bd871fb970
Merged-In: I09a2e039451b5eb8b7fa360ba03486bd871fb970
2023-05-17 17:35:32 +00:00
Kenny Root
76272091c8 zuma: conf: set gsa log group to system
dumpstate runs as system group, so in order to prepare for it to be
readable by dumpstate, we need to change the group to system.

(cherry picked from commit 286ebed626)

Bug: 271125313
Test: ls -l /sys/devices/platform/16490000.gsa-ns/
Change-Id: Ib8f299e99add9cc2f03887cda78f576924c522cd
Merged-In: Ib8f299e99add9cc2f03887cda78f576924c522cd
2023-05-16 21:30:22 +00:00
Treehugger Robot
2d67d31e45 Merge "Set ro.hardware.egl" into udc-d1-dev 2023-05-16 20:18:30 +00:00
JJ Lee
843340029a init: to load aoc firmware in off-mode charging
Bug: 227161102
Test: build pass, checked power in off-mode charging
Change-Id: Ie3ef0f7c7bc8776073ea4cf064478fc9308d4e31
Signed-off-by: JJ Lee <leejj@google.com>
2023-05-16 07:25:37 +00:00
Siddharth Kapoor
46f6a9f0ac Set ro.hardware.egl
ro.hardware.egl is currently not set for zuma devices. libEGL loader is finding libGLES_mali.so Graphics driver by trying wildcard matching.
Fix this by setting ro.hardware.egl=mali

Bug: 282832873
Change-Id: I7764eef1c847568614488d6334057bd7e7a0c525
Signed-off-by: Siddharth Kapoor <ksiddharth@google.com>
2023-05-16 03:53:42 +00:00
TreeHugger Robot
487f56aee4 Merge "Enable Early Send Device Info for Pixel 2023" into udc-d1-dev 2023-05-16 02:48:31 +00:00
Sophia Wang
07a98e0fd5 Zuma:conf Add dsulat CPU idle awareness settings
Test: cat /sys/class/devfreq/gs_dsulat_devfreq:devfreq_dsu_lat@17000090/dsu_latency/dsulat_cpuidle_state_aware

Bug: 282103584
Change-Id: I78f0c2b69c93e482271241c2c801c0cf74018b76
Merged-In: I78f0c2b69c93e482271241c2c801c0cf74018b76
Signed-off-by: Sophia Wang <yodagump@google.com>
2023-05-15 18:19:36 +00:00
Aaron Tsai
034b90f9b2 Enable Early Send Device Info for Pixel 2023
This is for supporting Softbank requirement OTR-CORE_GEN-000305,
  UE shall delete the GUTI when performing software update.

Bug: 281468256
Test: build pass
Change-Id: I19db908f8a89299b4efea926b2bfcba6ef1c6758
2023-05-15 05:57:03 +00:00
Salmax Chang
63c8feb6d8 Merge "device: Support to prebuild modem_svc_sit" into udc-d1-dev 2023-05-15 03:54:02 +00:00
Sophia Wang
c7cd3e4205 Zuma:conf Add memlat CPU idle awareness settings
Test: cat /sys/class/devfreq/gs_memlat_devfreq:devfreq_mif_cpu7_memlat@17000010/memlat_cpuidle_state_aware

Bug: 269148983
Change-Id: I772c53f95c8c1d7f84c34cfd49397a47db0fdf64
Signed-off-by: Sophia Wang <yodagump@google.com>
(cherry picked from commit f60e906395)
2023-05-12 16:35:57 +00:00
Rick Yiu
10c419cd2f Set top-app to UG_FG explicitly
Bug: 280924566
Test: work as expected
Change-Id: I567139f3962d49491d0439df4b330c4ccae2dcfe
2023-05-12 08:53:50 +00:00
TreeHugger Robot
5e45fd22a2 Merge "Revert "audio: set CCA to be enable by default"" into udc-d1-dev 2023-05-12 08:28:02 +00:00
Carter Hsu
d8f891cf94 Revert "audio: set CCA to be enable by default"
This reverts commit dad4c28d12.

Reason for revert: <CCA has audio artifact, set default off until the issue is fixed>

Change-Id: I4c12f1a8e51e0c5135be0e45ef82440642ae26ed
2023-05-12 05:13:17 +00:00
YI-HUA LI
39f0e1127c Merge "Add modules: UMF, MDHM, PTMS Bug: 278602847" into udc-d1-dev 2023-05-12 05:12:28 +00:00
YiHua Li
024e7c7415 Add modules: UMF, MDHM, PTMS
Bug: 278602847

Change-Id: I8017a218d5c8b33d23597e3115dc5db21b981bcf
2023-05-12 03:07:56 +00:00
Rick Yiu
a97a3e77d1 Merge "Rename vug_bg_group_throttle to ug_bg_group_throttle" into udc-d1-dev 2023-05-10 08:06:56 +00:00
Rick Yiu
606628fc1b Rename vug_bg_group_throttle to ug_bg_group_throttle
Also set initial ug group for some vendor groups.

Bug: 201260585
Test: build pass
Change-Id: I6907fdbc3f0da425711ffc92948cca94f377bfe7
2023-05-10 07:00:36 +00:00
Cheng Chang
03c9ad69c1 Merge "gps: separate sdk version" into udc-d1-dev 2023-05-09 10:05:37 +00:00
Mahesh Kallelil
9a08596554 Set owner as system for logbuffer_cpif
Setting the owner of /dev/logbuffer_cpif as system to allow the
dump_modem script to read the logs as part of bugreport

Test: Tested bugreport on P23
Bug: 278501642
Change-Id: I336d712ea9e4bc2cfe08195f64089b68dd283fe6
Signed-off-by: Mahesh Kallelil <kallelil@google.com>
2023-05-08 20:52:29 -07:00
Treehugger Robot
6c854204b0 Merge "Remove camera multicam property setup" into udc-d1-dev 2023-05-09 03:40:46 +00:00
Speth Chang
02859551df Remove camera multicam property setup
The property was re-named and default enabled.

Bug: 281468569
Test: build pass
Change-Id: I01eef2e4cb6dd8837346a3bc86596e8fd29789e5
2023-05-08 11:13:52 +00:00
Cheng Chang
179dbd458c gps: separate sdk version
- release stable sdk version to factory image

Bug: 281464842
Test: verify sdk version at b/281464842
Change-Id: I539ca681425cda69e545f0f693a936017eb0a548
2023-05-08 09:46:57 +00:00
Ted Wang
19bcff7a2f Merge "Remove bluetooth related hidl hal from manifest" into udc-d1-dev 2023-05-05 06:19:10 +00:00
TreeHugger Robot
8803a98523 Merge "[display-stats] add display stats paths for zuma devices." into udc-d1-dev 2023-05-05 05:35:55 +00:00
Treehugger Robot
bc6a98d3a4 Merge "init: make pmu_poll_enable node readable" into udc-d1-dev 2023-05-04 21:13:38 +00:00
Rick Yiu
7dcad39243 Merge "Set boost_adpf_prio with property" into udc-d1-dev 2023-05-04 12:21:33 +00:00
Rick Yiu
fc89a67da9 Set boost_adpf_prio with property
Set boost_adpf_prio with property for experiment.

Bug: 245675204
Test: work as expected
Change-Id: I4f7d24034b751413489bd927e1fa41da76f85221
2023-05-04 10:53:20 +00:00
Taeju Park
50c6f146e4 init: make pmu_poll_enable node readable
Bug: 280706610
Change-Id: Id0664d694e403c414afe1a6cffe6e4e4772f0d5b
Signed-off-by: Taeju Park <taeju@google.com>
2023-05-04 08:13:45 +00:00
Karuna Ramkumar
efc6827a85 Force zuma to treat 170M as sRGB in SF
Bug: 278891060
Change-Id: I35bcfd2f17b23d7775d184c2fd1483386411e07e
2023-05-03 20:44:12 +00:00
Manali Bhutiyani
ea194708f2 [display-stats] add display stats paths for zuma devices.
Bug: 259554507
Test: Build and boot on device
adb shell cmd stats print-stats | grep -i <atom-id>

Change-Id: Iaed69cbce6ea002f07fe3374aadf97a07937ef5b
2023-05-03 18:13:33 +00:00
Jack Wu
3aea8063d3 init: fix incorrect dc sysfs node path
also add thermal stats permissions for clearing

Bug: 262520811
Test: can parse pca stats in pixelstats-uevent
Change-Id: I1fadae8f5ee80279222313d0408ba21421e4c4a7
Signed-off-by: Jack Wu <wjack@google.com>
2023-05-03 09:31:17 +00:00
Richard Chang
66d5285ec4 Merge "zuma: Disable kmem cgroup accounting" into udc-d1-dev 2023-05-03 06:20:09 +00:00
Krzysztof Kosiński
accfa734ce Merge "Update SoC-specific Lyric config." into udc-d1-dev 2023-05-03 02:23:58 +00:00
Martin Liu
72637ea363 adjust applying watermark_scale_factor timing
We should apply watermark_sclae_factor after
boot complete. Otherwise, extra_free_kbytes.sh
might overwrite it and this also aligns with
previous projects' timing.

Bug: 278075546
Test: boot and check watermark_scale_factor
Change-Id: I7989fd1e8cd968193577300b0f83a829bdeb037d
Signed-off-by: Martin Liu <liumartin@google.com>
2023-05-02 09:24:47 +00:00
Treehugger Robot
db23f42402 Merge "[Zuma] set mte_tcf_preferred" into udc-d1-dev 2023-05-02 01:12:33 +00:00
Evgenii Stepanov
d7e6504747 [Zuma] set mte_tcf_preferred
Restrict this logic to device_config.*bootloader_override to avoid
impacting lab testing.

Bug: 239832365
Bug: 280343521
Test: adb shell setprop persist.device_config.runtime_native_boot.bootloader_override force_on
      adb reboot
      adb shell 'cat /sys/devices/system/cpu/cpu?/mte_tcf_preferred'
          should return all "sync" x6 followed by "asymm"

Change-Id: Iee5352a2056e69636a31daf6a89dfc8805963baf
2023-05-01 15:37:59 -07:00
Krzysztof Kosiński
8ec448aac5 Update SoC-specific Lyric config.
Bug: 280124102
Test: presubmit
Change-Id: Ia6baa649a546cf90fdf995b2a928638f05c5ec74
2023-04-29 09:28:41 +00:00
Wei Wang
ebcd090cdb Merge changes I4d719edf,Icbdd5e18 into udc-d1-dev
* changes:
  Relax cpuset for OTA
  Set bg group throttle to 30 percent of cpu capacity
2023-04-28 15:55:20 +00:00
Richard Chang
e8f5a4cefc zuma: Disable kmem cgroup accounting
Disable cgroup kernel memory accounting to avoid unnecessary overhead

Bug: 258100733
Test: Boot
Change-Id: I9e3ce7b4ae93531aeb12ca11a40d0445ba41b2cc
2023-04-28 04:12:55 +00:00
Kyle Zhang
3ac7a5285b Move Widevine drm to gs-common
Bug: 277764729
Change-Id: Ibab8fdac0be251ef53d84d2c5cf90f57b9b64235
(cherry picked from commit 471630b25b)
2023-04-27 22:11:00 +00:00
Rick Yiu
a2c60a3ec9 Relax cpuset for OTA
With vendor group throttling, we could relax the ota cpuset.

Bug: 201260585
Test: cpuset changed as expected
Change-Id: I4d719edf898ff0bfe8a2ba776ccd55f9ce423dfa
2023-04-27 15:34:02 +00:00
Rick Yiu
5a18a1b381 Set bg group throttle to 30 percent of cpu capacity
Also remove old settings.

Bug: 201260585
Test: value set as expected
Change-Id: Icbdd5e18b128f1c8a9e88a5c147353ef7a55ef48
2023-04-27 15:31:53 +00:00
Hiroshi Akiyama
512ce7909c Merge "pixelstats: Add BCL IRQ duration stats sysfs node for zuma" into udc-d1-dev 2023-04-27 14:21:31 +00:00
Treehugger Robot
d066ee630d Merge "odpm: Replace MMWAVE rail with AUR rail for SUB6 only sku" into udc-d1-dev 2023-04-27 09:13:39 +00:00
Bruno BELANYI
f5ae1a10ce Merge "Define mali configuration path explicitly" into udc-d1-dev 2023-04-27 08:06:48 +00:00
Carter Hsu
89195d60b0 Merge "audio: set CCA to be enable by default" into udc-d1-dev 2023-04-27 03:44:08 +00:00
Darren Hsu
56a3c0faa5 odpm: Replace MMWAVE rail with AUR rail for SUB6 only sku
Bug: 269218895
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Ib47c6d383a70984e863abae04ee98d254a120581
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2023-04-27 10:47:45 +08:00
Andrew Chant
404a5157c5 Merge "Use tof sensor codename" into udc-d1-dev 2023-04-27 02:07:29 +00:00
Bruno BELANYI
df90f6f801 Define mali configuration path explicitly
This avoids mali trying to read `/data/data/com.mali.testjava` for its
debug config.

Bug: 205779871
Bug: 264489188
Test: manual - reboot device and check the absence of AVC denials
(cherry picked from commit 7038bae086)
Merged-In: I42051ae2c10c6d4fa7c1f9d5f485ff5471e6a287
Change-Id: I42051ae2c10c6d4fa7c1f9d5f485ff5471e6a287
2023-04-26 08:12:04 +00:00
Carter Hsu
dad4c28d12 audio: set CCA to be enable by default
Bug: 279697074
Test: build pass
Change-Id: I121e5f1ff54780d69653bea7b54acf5a001baa5a
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-04-26 16:01:42 +08:00