Commit graph

306 commits

Author SHA1 Message Date
TeYuan Wang
9bb0490c2f thermal: add usb port throttling policy am: a0671ebaa6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/21571010

Change-Id: Ic30beb7888607e96ee679dd1fe5e65532abfed09
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-20 03:51:24 +00:00
TeYuan Wang
14dc7a54aa thermal: start VIRTUAL-SKIN-CHARGE monitoring from 25 degC am: af4434cc65
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/21987868

Change-Id: I26658048e52a83905d7b032ed2c62f813abd79e1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-20 03:51:23 +00:00
Peter (YM)
2146582136 thermal: more aggressive CPU throttle policy for shusky am: f627993f9c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/22039804

Change-Id: Ibc0d97ed03f24fab3b216e66eda4a55d078aba26
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-20 03:51:14 +00:00
TeYuan Wang
a0671ebaa6 thermal: add usb port throttling policy
Bug: 266719296
Test: verified by emul_temp
Change-Id: I9cd4849fa8d619aff5618f752166cc4ce71b3bce
2023-03-18 17:20:27 +00:00
TeYuan Wang
af4434cc65 thermal: start VIRTUAL-SKIN-CHARGE monitoring from 25 degC
Bug: 258136347
Bug: 258136311
Test: Verified by emul_temp
Change-Id: Ie688d1d1a0c8b9481a533c6f7e655d0201aa5198
2023-03-18 17:20:13 +00:00
Peter (YM)
f627993f9c thermal: more aggressive CPU throttle policy for shusky
1. Align our throttle policy with P22 devices
2. Change the cdevceiling level to make the cpu freq align our setting in P22 devices

Bug:258136274
BUg:258136466
Test: Run Burn8, MH_OFF
Change-Id: I9a05147ce7ca1564f5cc63bc0058b1ecbd2a7fd6
2023-03-18 02:29:49 +00:00
Joen Chen
c8ac46d1e5 Merge "RRS: add the property for default resolution for RRS" into udc-d1-dev 2023-03-17 20:45:28 +00:00
Sayanna Chandula
cf95b459f5 Merge "thermal: seperate thermal config for charging" into udc-d1-dev 2023-03-17 17:04:42 +00:00
TreeHugger Robot
290197408b Merge "display: enable lbe supported property" into udc-d1-dev 2023-03-17 09:28:24 +00:00
Jasmine Cha
a5a158241b audio: create audio hal aidl config am: fc75f338a2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/21734152

Change-Id: Id09db4bfe61de4598a31797fe8cc063e89960cbf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-17 05:26:25 +00:00
Jasmine Cha
fc75f338a2 audio: create audio hal aidl config
Bug: 206738075
Test: build pass

Change-Id: Iaa571e7079782eaa0b07bf268f77d6f3e0884c62
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-03-17 09:54:28 +08:00
Jia-yi Chen
44c41465bd Revert "powerhint: Update CPU MaxFreq cap for camera powerhints"
This reverts commit c5deb0c087.

Reason for revert: The temporary solution cause frame drops
Bug: 273836646
Test: Boot
Change-Id: Ibd2413af1f984bd4a4df5c601dd1ce330296f7d1

Change-Id: Ifb4e1f0215e47bee9b65144a86c4c19c11177da4
2023-03-16 21:55:30 +00:00
joenchen
f1ba9569e3 RRS: add the property for default resolution for RRS
Add properties
1. assign default resolution 1008p for RRS
2. HWC is initilized with 1008p to avoid to switch resolution
when boot animation is almost over.

Test: Boot w/ and w/o user selected configs and check the resolution
Bug: 243689199
Change-Id: I6f270e0068397ea2ece72e73b357d6870b4e2944
2023-03-16 12:47:19 +00:00
David Chao
d6048d1883 thermal: seperate thermal config for charging
- Separate thermal config for charger mode and remove the unused thermal
throttling.

Bug: 272701980
Test: charging throttling worked properly in charger.

Change-Id: Ic8db468af99d11c24fb3ce074bad524ef1107bb9
2023-03-16 14:38:23 +08:00
TreeHugger Robot
4b0bba5149 Merge "Husky: change display density to 520" into udc-d1-dev 2023-03-16 01:04:36 +00:00
TreeHugger Robot
8d310c132f Merge "Change the camera id to match the front camera ID" into udc-dev am: f16ad8aabf
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/22088129

Change-Id: I251b9899af525371e1f12024c5f199abb61a6748
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-15 15:58:46 +00:00
TreeHugger Robot
f16ad8aabf Merge "Change the camera id to match the front camera ID" into udc-dev 2023-03-15 15:18:29 +00:00
Chris Lu
5cfce8d29d Husky: change display density to 520
Bug: 243687508
Test: show correct UI size
Change-Id: Ib8fa441c56a7f4be6c90edbf80b4285e1dc00009
2023-03-15 14:34:45 +00:00
TreeHugger Robot
1fe3aa2438 Merge "powerhint: boost mem path at first frame" into udc-d1-dev 2023-03-15 02:45:18 +00:00
Chandru S
4d61963d42 Change the camera id to match the front camera ID
Fixes: 270083570
Test: manually, flashed the new config and verified on a husky
Change-Id: I0be559c538e2b99c6279f0d8ae152b4ae1cd6afa
2023-03-15 02:20:17 +00:00
Kyle Lin
0b9e54e888 powerhint: boost mem path at first frame
Bug: 272750446
Test: build and boot
Change-Id: I0603ae359e0469ec4cac212943e0c8f6bafef855
2023-03-15 06:18:47 +08:00
Siddharth Kapoor
a7a2126955 powerhint: Add GPUMinFreq 150000
Bug: 251015742
Signed-off-by: Siddharth Kapoor <ksiddharth@google.com>
Change-Id: I51e6b0a716d673852067691e0d7c20bdfa4088ae
2023-03-14 09:55:06 -07:00
Wei Wang
e257da35c0 Merge "thermal: add support for multiple trigger sensors" into udc-dev am: 0d9e1df553
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/21893261

Change-Id: I20690c5ebdedc108c47ad611242ab0f5e8a1b1e9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-14 06:00:16 +00:00
Wei Wang
0d9e1df553 Merge "thermal: add support for multiple trigger sensors" into udc-dev 2023-03-14 05:35:39 +00:00
TreeHugger Robot
69d8afb348 Merge "Enable AocPowerPinCtrlCheckEnable flag on bt_vendor.conf" into udc-dev am: cc640af950
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/21551801

Change-Id: I1e428091cdab59e32212b83eef0468e7344509e5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-14 04:47:50 +00:00
TreeHugger Robot
cc640af950 Merge "Enable AocPowerPinCtrlCheckEnable flag on bt_vendor.conf" into udc-dev 2023-03-14 04:24:01 +00:00
Sayanna Chandula
16a7cffdc8 thermal: add support for multiple trigger sensors
Bug: 271378726
Test: Build and boot on device. Test with emul temp

Change-Id: I4699064dd3d64f905740b234ee0041c1e063b405
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2023-03-14 02:52:22 +00:00
TreeHugger Robot
2a747871a0 Merge "powerhint: correct display refresh hint" into udc-dev am: 5fd56d6f79
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/21872460

Change-Id: I69bf5f56543d37deea944fb35af5b93c4c39b8fb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-13 18:33:51 +00:00
TreeHugger Robot
5fd56d6f79 Merge "powerhint: correct display refresh hint" into udc-dev 2023-03-13 17:35:37 +00:00
Kyle Lin
c2670f7ece powerhint: boost DSU at first frame
Bug: 272750446
Test: build, boot and power/performance verify
Change-Id: Id432019a37be51dc557cc5dca6a95001a7befe39
2023-03-13 16:47:03 +00:00
Kyle Lin
73fdfd463b powerhint: Add DSU and BCI configuration
Bug: 258100337
Bug: 272750446
Bug: 269809407
Test: build and boot
Change-Id: I58efba6c202ab2a7394a2f68d9289013f656e568
2023-03-13 16:46:08 +00:00
Kyle Lin
6e6b3c15c9 powerhint: correct MIF max value
Bug: 258100337
Bug: 269809407
Test: build and boot
Change-Id: I1f03cfd0adf5344a9d3de457bcc6675d90ffe5ea
2023-03-13 15:59:00 +00:00
linpeter
5f6fd482ed display: enable lbe supported property
Bug: 243688224
Bug: 243694960
Test: lbe can on/off
Change-Id: If05c6dcbfac1a447432d53e4d12a2c548be7e990
2023-03-13 11:26:41 +00:00
Jeremy DeHaan
f09b6f5736 Merge "display: remove default brightness settings" into udc-dev am: 453c81d817
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/21778119

Change-Id: I198b8bd8d24078509138c2f4a27a6b8c442bbce0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-10 18:18:27 +00:00
Jeremy DeHaan
453c81d817 Merge "display: remove default brightness settings" into udc-dev 2023-03-10 17:48:34 +00:00
TreeHugger Robot
77a18e4f29 Merge "husky: Set ro.surface_flinger.ignore_hdr_camera_layers" into udc-d1-dev 2023-03-10 12:30:33 +00:00
Carter Hsu
574acbbe49 audio: enable ultrasonic proximity detection
Bug: 271379466
Test: tried with test build
Change-Id: I1d4eda4511ea3eaeb0b71b4f36b20eadb9a08316
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-03-09 16:15:56 +08:00
Luke Chang
85a29237ef Merge "powerhint: add CPU_LOAD_RESET rule" into udc-d1-dev 2023-03-09 05:28:09 +00:00
Safayat Ullah
d9aec73cba husky: Set ro.surface_flinger.ignore_hdr_camera_layers
This property prevents display high brightness mode from being triggered
due to HDR layers produced by camera.

Bug: 243688547
Change-Id: I8f3fd697c88c471a8b6890c209f84bb16d0600b6
2023-03-08 13:11:00 +00:00
lukechang
3375262d11 powerhint: add CPU_LOAD_RESET rule
Set minimum mif freq for 1st frame to avoid memlat can't reflect in
time.

Test: Build and check 1st frame boost
Bug: 259275437
Bug: 263383561
Bug: 272146554
Change-Id: I8ef82278655f33fe02067767a442839f0b402293
Signed-off-by: lukechang <lukechang@google.com>
2023-03-08 12:20:16 +00:00
TreeHugger Robot
44905d4470 Merge "display: add AoD Brightness configuration" into udc-d1-dev 2023-03-08 09:11:26 +00:00
Zheng Pan
43a46e4391 Shusky: Move init.insmod.cfg from vendor to vendor_dlkm
To decouple init.insmod.${device}.cfg from HLOS,
it is moved to kernel repo and built in vendor_dlkm.img.
Also make init.rc to load it from vendor_dlkm/

Bug: 270603150
Test: Build image and flash, make sure modules are loaded.
Change-Id: Ib280bc587041531198052aae3f9dd05c1a0f975e
2023-03-07 19:08:01 +00:00
Jimmy Shiu
edcfbbad3d powerhint: correct display refresh hint
All shusky products are 120Hz/60Hz

Test: Manual
Bug: 258101007
Change-Id: Idc4e68482957db9105282fda8ade40b944d874e4
2023-03-08 01:37:29 +08:00
Safayat Ullah
8c601acb6d display: add AoD Brightness configuration
Bug: 243687721
Test: check brightness in AOD
Change-Id: I8824e251f69d091daf226a59eecce2cfc1a6a01d
2023-03-07 15:24:14 +00:00
Louis Chang
75d678ff85 Merge "Enable WM Extensions" into udc-dev am: cedcc4fb8a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/21806822

Change-Id: Ic3030ca0548247ee9a08e3508fce454306201dfb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-07 05:31:09 +00:00
Louis Chang
cedcc4fb8a Merge "Enable WM Extensions" into udc-dev 2023-03-07 04:58:29 +00:00
Louis Chang
93d2a6efff Enable WM Extensions
Bug: 270732854
Test: build pass
Change-Id: I612ea7451e588c0a910da82953fcb39ed588c1cc
2023-03-07 02:47:03 +00:00
TreeHugger Robot
3f30ae077c Merge "powerhint: Update CPU MaxFreq cap for camera powerhints" into udc-d1-dev 2023-03-07 00:32:36 +00:00
Jia-yi Chen
c5deb0c087 powerhint: Update CPU MaxFreq cap for camera powerhints
Currently the CPU scheduler is not tuned to set the proper OPPs
for camera use cases so hard limiting the CPU frequencies to limit
the CPU power. This is just a temporary solution and should be
adjusted if it causes any perf regression.

Bug: 270571756
Test: Boot & take traces
Change-Id: I7d465cdce2d08ea530e5e889020b4cedfe04341f
2023-03-06 22:16:20 +00:00
Yanting Yang
5d9dda3f22 Update initial MIC e-label for JP SKU of HK3 and SB3 am: 35b8c87370
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/21794266

Change-Id: I235be5cacd35f6c5b7f84f03f2d09f868153b578
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-06 12:31:25 +00:00