Commit graph

804 commits

Author SHA1 Message Date
Carter Hsu
fd428e09f9 Merge "Revert "Revert "audio: set CCA to be enable by default""" into udc-d1-dev 2023-05-18 03:54:41 +00:00
Treehugger Robot
11e0488628 Merge "Lyric: Remove unused flag" into udc-d1-dev 2023-05-18 03:53:53 +00:00
Badhri Jagan Sridharan
328f664f17 Merge changes Ibe71bdd5,I6c3e7df0,Ie1a48b1a into udc-d1-dev
* changes:
  Usb: Populate UsbDataStatus only when not populated
  Usb: Set connected status when connected to non compliant port partners
  Usb non-compliant port partner implementation
2023-05-17 23:46:21 +00:00
Treehugger Robot
04dba77f21 Merge "zuma: Use SkiaGL as RenderEngine backend" into udc-d1-dev 2023-05-17 12:00:22 +00:00
Carter Hsu
6479af7533 Revert "Revert "audio: set CCA to be enable by default""
This reverts commit d8f891cf94.

Reason for revert: <CCA quality issue is fixed, enable the CCA by default>

Change-Id: I48498ca6f286d805aa0a9c69e9af65897d060579
2023-05-17 09:11:12 +00:00
Treehugger Robot
d4138f4461 Merge "usb: modify the initial_descriptor_timeout to 500ms" into udc-d1-dev 2023-05-17 02:17:35 +00:00
Treehugger Robot
2d67d31e45 Merge "Set ro.hardware.egl" into udc-d1-dev 2023-05-16 20:18:30 +00:00
Ian Elliott
0010027184 zuma: Use SkiaGL as RenderEngine backend
This reverts commit 4a0971bb34.

Reason for revert: b/281967184 and b/280343156

Even though using SkiaVK with RenderEngine has definite benefits, it appears to need more "soak time" in order to squeeze out some functional bugs.

Test: none-returning RenderEngine to using SkiaGL, as it was before
Bug: 281967184
Bug: 280343156
Change-Id: Iced32ae465030c6cd27a702eaa9105c873975a92
2023-05-16 18:20:17 +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
Ray Chi
8ee17b3a8f usb: modify the initial_descriptor_timeout to 500ms
If the enumeration is too long, it may trigger the watchdog mechanism
to cause device reset. Therefore, this patch will modify the timeout.

Bug: 282876796
Test: build pass and the value is set to 500.
Change-Id: Ib54d8ff5a1e680fc86f2b89ee0d02d63ee5741d8
2023-05-16 14:44:57 +08:00
Badhri Jagan Sridharan
47e1400c8f Usb: Populate UsbDataStatus only when not populated
Do not override UsbDataStatus when already populated.
Compliance warnings such as missing Rp do not populate
UsbDataStatus and the port partner is detected.
Populate UsbDataStatus only when not populated.

Bug: 279251052
Change-Id: Ibe71bdd5c521ba90c124d89bd56af90087c0df18
2023-05-16 05:51:50 +00:00
Holmes Chou
5aa70dcae9 Lyric: Remove unused flag
Remove unused flag

Bug: 272148112
Test: local build
Change-Id: I2fa89e163cd9beeb51ed959fb7a4c1d2a91eb496
2023-05-16 05:49:28 +00:00
Badhri Jagan Sridharan
e707356f6a Usb: Set connected status when connected to non compliant port partners
Set mode, power role and data role when connected to non compliant
port partners.

Bug: 268584498
Change-Id: I6c3e7df09a61e26f3b976a86bd65cb646edd653d
Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
(cherry picked from commit 7c2d62aafc219af11252dabf49d84d84b7ccfa57)
2023-05-16 03:58:34 +00:00
RD Babiera
005049d207 Usb non-compliant port partner implementation
Adds vendor code for non-compliant charger feature. Currently
updates service version.

Minor port of  commit 96ccf93453583642a15dd96b1e4d6bf0645fc10b

Test: atest VtsAidlUsbTargetTest
Bug: 236322506
Change-Id: Ie1a48b1acaaae9a53f3b9bfebcfee7a2f4814810
(cherry picked from commit 96ccf93453583642a15dd96b1e4d6bf0645fc10b)
2023-05-16 03:58:30 +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