Commit graph

865 commits

Author SHA1 Message Date
Kelly Rossmoyer
371e5f7222 suspend: enable adaptive suspend
This CL adds build properties enabling Adaptive Suspend's short
suspend backoff with a short suspend threshold of 2 seconds and
a max backoff time of 40s.  This is the same configuration that
was shipped (and remains active) on gs101-based devices.

Experimentation with these settings is being tracked on the bug,
and this CL is being prepared now so we can start to soak in
dogfood and observe the real-world behavior.

Bug: 284766768
Test: booted with a test kernel and used alarmtimer mods to
exercise high-frequency wakeup behavior

Change-Id: Ia0fd3b08058390ea9e70926455c7c6d460320d8a
2023-06-07 19:25:38 +00:00
Wei Wang
012b3340ad Remove prefer_idle for SF CFS tasks
Test: Boot
Bug: 236868627
Change-Id: I57ea6032f2b6fcd974455ec09cb0318ec9601923
Signed-off-by: Wei Wang <wvw@google.com>
2023-06-02 21:20:00 +00:00
Wei Wang
59840aaadb Merge "Remove rt_uclamp_min and sf_uclamp_min" into udc-d1-dev 2023-06-02 16:33:37 +00:00
Angela Wu
c6f2f19bd5 Merge "Allow access to video12 from applications." into udc-d1-dev 2023-06-02 15:49:09 +00:00
Treehugger Robot
d27c2997fb Merge "Disable the broadcast assistant service by default" into udc-d1-dev 2023-06-02 13:34:26 +00:00
Joey Poomarin Phloyphisut
18332b9265 Merge "pixelstats: add pdm_state sysfs for VendorAudioPDMStatsReported" into udc-d1-dev 2023-06-02 07:23:19 +00:00
Sophia Wang
deb8dad039 Merge "init: retune memlat parameter stall_floor" into udc-d1-dev 2023-06-02 05:51:18 +00:00
Mark su
54384fe0b8 Allow access to video12 from applications.
Test: 05-05 05:07:06.652  4616  4616 W FinishThread: type=1400 audit(0.0:24): avc:  denied  { read write } for  name="video12" dev="tmpfs" ino=646 scontext=u:r:debug_camera_app:s0:c32,c257,c512,c768 tcontext=u:object_r:video_device:s0 tclass=chr_file permissive=0 app=com.google.android.GoogleCameraEng

Bug: 267820687
Change-Id: I3a9a8f1107b5c2accae3ed6906e47c69da63bccd
2023-06-02 11:45:08 +08:00
Carter Hsu
154ad90703 Merge "audio: set system/audio group for acd-mel_processor" into udc-d1-dev 2023-06-02 01:10:09 +00:00
Matt Buckley
a702e416a3 Remove rt_uclamp_min and sf_uclamp_min
rt_uclamp_min and sf_uclamp_min have been made redundant in Pixel by
ADPF for sf, so we are just going to remove them outright rather than
worrying about overriding them later

Bug: 285248880
Test: manual
Change-Id: I7c0f003d644dc0f33d2eaaf27f766c832b28414f
2023-06-01 21:05:00 +00:00
Ziyi Cui
25367cdaad init: fine tune dsulat parameter mem_stall_floor
Bug: 279519442
Change-Id: I513e5f51928c089e2962c42670f1608f44cc1b56
Signed-off-by: Ziyi Cui <ziyic@google.com>
2023-06-01 17:45:13 +00:00
Treehugger Robot
b4e30ac3a9 Merge "bt: add dumpstate for bcmbt dump" into udc-d1-dev 2023-06-01 14:05:01 +00:00
Patty Huang
160d791f59 Disable the broadcast assistant service by default
Bug: 284804688
Test: Ensure broadcast assistant service profile is disabled by default
Change-Id: I6a0be31b85f48c413160e7e13276eab364ec9fd7
2023-06-01 17:52:23 +08:00
jonerlin
3eb719e89a bt: add dumpstate for bcmbt dump
Bug: 284692164
Test: make fw dump and vendor snoop log and get bugreport
Change-Id: I19af6adc9c4802eb3a6eef89c660437879a5a908
2023-06-01 01:43:46 +08:00
Szu-Wei (Wesley) Lee
a480b6d0e9 Add 1080p 120FPS standard performace point for BW AV1 Encoder
Bug: 284405649

Change-Id: I8f6b0faaa9579cd19f0704d39edbf1e57afc26dd
Signed-off-by: Szu-Wei (Wesley) Lee <szuweilee@google.com>
2023-05-30 20:29:58 +00:00
Treehugger Robot
eb38c03b5a Merge "Revert "init: to load aoc firmware in off-mode charging"" into udc-d1-dev 2023-05-30 12:21:07 +00:00
JJ Lee
9411fd4bb8 Revert "init: to load aoc firmware in off-mode charging"
This reverts commit 843340029a.

Reason for revert: Lab entry pretest on 6/1

Bug: 284789987
Change-Id: Iae0478064d7b23514cbc5cb5ffc42ee4637e1840
2023-05-30 09:09:16 +00:00
Poomarin Phloyphisut
85d78e3743 pixelstats: add pdm_state sysfs for VendorAudioPDMStatsReported
Bug: 201737886
Test: manually test passed
Change-Id: I0a32a996b4f13c7ad9a807c4019d6c0ffd3de905
2023-05-30 08:48:49 +00:00
Treehugger Robot
c899560f6b Merge "radio: change default max size and max file number" into udc-d1-dev 2023-05-26 08:38:01 +00:00
Nicole Lee
7c8983133b radio: change default max size and max file number
- Max file size: 20MB -> 50MB
- Max file count: 10 -> 50 files

Bug: 284235513
Test: Flash the build and check always-on logging settings
Change-Id: Ifbfeef773e320e16170f89583b707499cb9af706
2023-05-26 08:01:39 +00:00
Donnie Pollitz
458b58fad7 Merge "Make sure nsp storage has the right owner/group" into udc-d1-dev 2023-05-26 07:17:41 +00:00
Mark Chang
4c63b6ff6d Merge changes I869b27c7,I384ab5b6 into udc-d1-dev
* changes:
  Update IGrilAntennaTuningService version.
  Update IScreenProtectorDetectorService version.
2023-05-26 07:03:36 +00:00
Badhri Jagan Sridharan
378b155ab6 Merge "Usb: Signal irq_hpd to drm stack" into udc-d1-dev 2023-05-25 19:46:52 +00:00
TreeHugger Robot
84e03bfd76 Merge "Update the initial threshold of PMU freq limit" into udc-d1-dev 2023-05-25 06:42:37 +00:00
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