Commit graph

942 commits

Author SHA1 Message Date
TreeHugger Robot
8a9d96e1d5 Merge "thermal: Update path reading for temperature residency metrics" into udc-d1-dev 2023-05-25 05:28:46 +00:00
Badhri Jagan Sridharan
412f31194c Usb: Signal irq_hpd to drm stack
Monitor typec stack for irq_hpd events and signal irq_hpd when the
irq_hpd counter value read is not the same as the previously cached
value.

Bug: 278307874
Change-Id: Id4a72afcf85550cabbc2f9469bb0ccb92cd02ad2
2023-05-25 04:36:06 +00:00
Wei Wang
76f595cdb6 Merge "init: reduce the boot boost uclamp min." into udc-d1-dev 2023-05-24 22:52:02 +00:00
Szu-Wei (Wesley) Lee
a666fece63 Merge "Add decoder portrait mode in XML file" into udc-d1-dev 2023-05-24 21:06:41 +00:00
guibing
3c1fd701e6 init: reduce the boot boost uclamp min.
Use a moderate boost instead of fmax out of thermal constraints.
Set it to the little core's capacity.

Bug: 284039815
Test: Compared the boot time with different boost configs.
Change-Id: I9dd39c8edd4148b65878a3b9e8c81a10d33c5a51
2023-05-24 13:40:32 -07:00
Taeju Park
3d61b10e3d Update the initial threshold of PMU freq limit
Bug: 258095095
Change-Id: Ib482722e3b30ad839ca664e3371f7978d93fe146
Signed-off-by: Taeju Park <taeju@google.com>
2023-05-24 18:57:31 +00:00
Szu-Wei (Wesley) Lee
a866d71991 Add decoder portrait mode in XML file
Bug: 275471295

Change-Id: I5777745383ad60d4138ea3bcef137576ddbbddbf
Signed-off-by: Szu-Wei (Wesley) Lee <szuweilee@google.com>
2023-05-24 17:43:59 +00:00
Donnie Pollitz
6d09a62190 Make sure nsp storage has the right owner/group
Background:
* Not all secure storage files had the correct ownership transitions.

Bug: 280325952
Test: Changed permissions and confirmed user transitions
Change-Id: I056f95717d85b819795af8335903bbbe5c4a6bd9
Signed-off-by: Donnie Pollitz <donpollitz@google.com>
2023-05-24 16:42:06 +02:00
Sam Dubey
0c6426f460 Merge "Revert "Make sure nsp storage has the right owner/group"" into udc-d1-dev 2023-05-24 11:45:26 +00:00
Sam Dubey
da11085b13 Revert "Make sure nsp storage has the right owner/group"
Revert submission 23280559-nsp

Reason for revert: b/284107307

Reverted changes: /q/submissionid:23280559-nsp

Change-Id: I60c726a4710b934e0760a0227a5a6074fcfe5d38
2023-05-24 10:40:48 +00:00
Donnie Pollitz
cab27f4916 Merge "Make sure nsp storage has the right owner/group" into udc-d1-dev 2023-05-24 08:30:30 +00:00
Jimmy Hu
756902cd89 Merge "Disable USB contaminant detection when the disable flag is true" into udc-d1-dev 2023-05-24 08:14:01 +00:00
Rick Yiu
1cd9bdb775 Restore uclamp.max for bg groups
These values could indicate if cpu is running important tasks.

Bug: 201260585
Test: build pass
Change-Id: I2fce47de1833ed0814049e22199d0cdd41e80dc3
2023-05-24 06:05:46 +00:00
Mark Chang
ed2727b6b6 Update IGrilAntennaTuningService version.
Bug: 278817941
Test: Failing tests pass.
Change-Id: I869b27c7e926491ff868e7f6c9a1501b35e00c04
Signed-off-by: Mark Chang <changmark@google.com>
2023-05-24 05:59:52 +00:00
Mark Chang
354e507098 Update IScreenProtectorDetectorService version.
Test: Failing tests pass.
Bug: 278817941
Change-Id: I384ab5b6f5afe48fa0f975c7a16bc57545ca6837
Signed-off-by: Mark Chang <changmark@google.com>
2023-05-24 05:59:01 +00:00
Jimmy Hu
3d72a5b29f Disable USB contaminant detection when the disable flag is true
(ported from 6b1106498e1164f46b9a895ed2258a20a0c7a7b5)

Bug: 263916675
Bug: 264231895
Test: setprop vendor.usb.contaminantdisable true
Change-Id: I57ea8280e4af3720dce9d9174b1cc24066c5324e
Signed-off-by: Jimmy Hu <hhhuuu@google.com>
2023-05-23 07:01:33 +00:00
Midas Chien
49679980b0 Merge "display: extend DPP downscale ratio" into udc-d1-dev 2023-05-22 10:33:01 +00:00
Donnie Pollitz
0a0bf76f74 Make sure nsp storage has the right owner/group
Background:
* Not all secure storage files had the correct ownership transitions.

Bug: 280325952
Test: Changed permissions and confirmed user transitions
Change-Id: Iafa32e27b7c24bda41cf251048995ae96b3ce8f7
Signed-off-by: Donnie Pollitz <donpollitz@google.com>
2023-05-22 08:27:38 +00:00
Treehugger Robot
f96a704a89 Merge "Configure udfps sysfs node permissions in ueventd.*.rc" into udc-d1-dev 2023-05-22 08:12:30 +00:00
Midas Chien
e26f16f363 display: extend DPP downscale ratio
Extend DPP downscale ratio to allow DPU to handle more downscale
scenarios.

Bug: 279671862
Test: play various resoltuion videos
Test: simulate several downscale ratio layers
Change-Id: I724aab35d07016a718a1b985ae96cb0471dbe912
2023-05-22 08:05:17 +00:00
Cyan Hsieh
299942e71e Merge "Upgrade VINTF Target FCM level from 7 to 8" into udc-d1-dev 2023-05-22 07:26:35 +00:00
Kenny Root
8d12593f03 Merge "dumpstate: add GSA logs to bugreport" into udc-d1-dev 2023-05-22 05:14:11 +00:00
Kenny Root
1b60b821b5 Merge "zuma: conf: set gsa log group to system" into udc-d1-dev 2023-05-22 05:14:03 +00:00
Kris Chen
fdc3c0db48 Configure udfps sysfs node permissions in ueventd.*.rc
Bug: 282568738
Test: Trigger aoc crash, perform udfps osc calibration.
Change-Id: I6d488c6808903eb5eeb6a3aa8336968ae9c643d3
2023-05-20 00:23:12 +08:00
Cyan_Hsieh
d23e85dd35 Upgrade VINTF Target FCM level from 7 to 8
Target FCM level 8 requires the newer version of the following HALs:
  android.hardware.boot
  android.hardware.neuralnetworks
  android.hardware.cas
Add the older version of these HALs into the customized product FCM

Remove below from customized product FCM and follow general rule:
  android.hardware.biometrics.face
  android.hardware.radio.config

Bug: 277188108
Change-Id: Iaec28d5ca254029daf126393e77fa997a8c6ce92
2023-05-19 18:31:57 +08:00
Prasanna Prapancham
c9891733b2 Merge "dumpstate: add ln8411 logbuffer into bugreport" into udc-d1-dev 2023-05-19 01:33:58 +00:00
Ziyi Cui
f89069ca4c init: retune memlat parameter stall_floor
Retune stall_floor for power saving

Bug: 279558882
Change-Id: If96a1825fb85c98e1408172d2e511bca52b0c6fc
Signed-off-by: Ziyi Cui <ziyic@google.com>
2023-05-19 00:16:27 +00:00
Szu-Wei (Wesley) Lee
29c406268a Merge "Add 4K 60 and 1080P 180 FPS performance points for BW AV1 encoder" into udc-d1-dev 2023-05-18 20:41:17 +00:00
Szu-Wei (Wesley) Lee
e7587fb6d8 Add 4K 60 and 1080P 180 FPS performance points for BW AV1 encoder
Bug: 283280475

Change-Id: I61ef9ff79cf0e1afcb62b661ca8c41fa1f7ccb92
Signed-off-by: Szu-Wei (Wesley) Lee <szuweilee@google.com>
2023-05-18 18:24:12 +00:00
Rick Yiu
0cb6218a7e Modify utilization group setting
We should set sysbg_ug to UG_BG but not sys_ug.

Bug: 282718756
Test: build pass
Change-Id: Ifa2dab78b0ea6c0d3e728b464f2f2139d7bf09aa
2023-05-18 10:13:17 +00:00
Treehugger Robot
795ca9ada2 Merge "health: add suspend support for charger mode" into udc-d1-dev 2023-05-18 03:57:58 +00:00
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
Jack Wu
2a3464431c health: add suspend support for charger mode
Override ChargerEnableSuspend() function to true to support
suspend and resume in charger mode.

Bug: 282142607
Test: Confirm the device enter suspend in charger mode
Change-Id: I16f03da67a8830bf4130d67948601e0534d8aa27
Signed-off-by: Jack Wu <wjack@google.com>
2023-05-18 01:30:28 +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
Prasanna Prapancham
0c772833b3 dumpstate: add ln8411 logbuffer into bugreport
Test: flash local build and collect bugreport
Bug: 277799048
Change-Id: I4847e5e4da50bba6da94ad379e5c4dd5542cb6f6
Signed-off-by: Prasanna Prapancham <prapancham@google.com>
(cherry picked from commit 68738d356f)
2023-05-17 22:50:47 +00:00
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
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
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
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