Commit graph

1665 commits

Author SHA1 Message Date
David Chao
d75b7b5b69 Revert "Revert "powerhint: thermal: Support powerhint to change tmu control-temp"" am: eaaf1911d1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16214466

Change-Id: Id83e89fd44a24a7a6be6bf3ed35345aa07d6fb4e
2021-11-19 23:43:46 +00:00
David Chao
eaaf1911d1 Revert "Revert "powerhint: thermal: Support powerhint to change tmu control-temp""
This reverts commit e2da019e13.
Since the temperature getting struck at 10 degC b/192030129 has been fixed,
reenable dynamic Tj thresholds.

Bug: 202736847
Test: build and boot on device
Change-Id: I53c62595407ea156ee3aceef0d3723db46096b8f
2021-11-19 23:30:04 +00:00
George Lee
5ee850ab54 bcl: Increase SMPL_WARN to 3.1V am: 3cf3ce9386
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16076579

Change-Id: I9971a2a7e56ea303a1275d7ea4dabb334ada192f
2021-11-18 20:23:39 +00:00
George Lee
3cf3ce9386 bcl: Increase SMPL_WARN to 3.1V
To mitigate Synthetic load in brownout test, we need to increase
UVLO1 to 3.2V, UVLO2 to 3.0V, and SMPL_WARN to 3.1V.

Bug: 200943374
Test: Local Test
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I182d55f3a898d6e9adc8d86747ae62541a1c8fab
2021-11-18 19:33:20 +00:00
Joe Huang
764b89e605 Modify gnss device.mk to support new projects am: 987378054f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16128399

Change-Id: I7a4311a5979467d03c047ec0e9a44abf618a3b07
2021-11-15 02:55:18 +00:00
Joe Huang
987378054f Modify gnss device.mk to support new projects
Copy default gps.xml to only specific projects under gs101 and maintain
new projects in their own folders.

Bug: 203745796

Test: Build test and check config

Change-Id: Ic0b6f8a6e41063f5c42573aea91650007963912b
2021-11-15 02:37:35 +00:00
Martin Liu
26b36bda5f gs101: set swiotlb as noforce am: 5bcfdac788
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16212520

Change-Id: Ic10f8a23848bf24542dc2334914bdef4c6b61d01
2021-11-11 00:24:40 +00:00
Martin Liu
5bcfdac788 gs101: set swiotlb as noforce
As dma devices are 36bit bounded, we don't need SWIOTLB
bounce buffers. Set swiotlb=noforce to disable this and
make the minimum amount of memory allocation.

Bug: 205246642
Test: check total memory and io_tlb_nslabs
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: If9f68b269f326f0f4b8e165593ec5dd4787fbb52
2021-11-11 00:07:28 +00:00
Krzysztof Kosiński
14a34f2517 Add Lyric camera IQ tuning configuration. am: 1be9cf8a51
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16178980

Change-Id: Ia1bf919e93d9e24dfcf2e1e8cb5ec2cab1cfa5c4
2021-11-04 22:11:55 +00:00
Krzysztof Kosiński
1be9cf8a51 Add Lyric camera IQ tuning configuration.
Bug: 200221875
Test: build and check camera HAL APEX content for affected devices
Change-Id: Ic3b9c50fa63b656f7e5a42d2687f4e6775720e55
Merged-In: Ic3b9c50fa63b656f7e5a42d2687f4e6775720e55
2021-11-04 21:58:06 +00:00
davidycchen
7a68c3cc43 dumpstate: dump touch HDM debug information am: 87c912336a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16169685

Change-Id: I66048ca063f0c1eda6685719b1852429014d41fe
2021-11-03 05:07:02 +00:00
davidycchen
87c912336a dumpstate: dump touch HDM debug information
HDM debug information already expend to 64 bytes. Dump whole debug
information when bugreport is triggered.
Read HDM debug information twice to check if any status events keep
changing.

Bug: 174191180
Test: trigger bugreport and check the data.

Signed-off-by: davidycchen <davidycchen@google.com>
Change-Id: I9d2f9ed094f85dae303ba47e85a182adcd6954ac
2021-11-03 04:46:03 +00:00
Automerger Merge Worker
c8bbcfecb1 Merge "Add GPU Power-on hint for LAUNCH am: 0b13fa4150 am: 3eaed9b170" into sc-v2-dev-plus-aosp 2021-11-02 05:14:28 +00:00
Siddharth Kapoor
56314fd47a Add GPU Power-on hint for LAUNCH am: 0b13fa4150 am: 3eaed9b170
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16091140

Change-Id: Iee70c7029951e7dc661b39bbbe3e34a47c13d6be
2021-11-02 05:14:26 +00:00
Siddharth Kapoor
a8e21f0f95 Add GPU Power-on hint for LAUNCH am: 0b13fa4150 am: 79b0ea41ef
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16091140

Change-Id: I8bc6778cc2c63ae7b35cd3bc5c71eb5b0da6b97c
2021-11-02 05:14:23 +00:00
Siddharth Kapoor
3eaed9b170 Add GPU Power-on hint for LAUNCH am: 0b13fa4150
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16091140

Change-Id: I5795ff285434da113542be86ebc77e4d9e84ba16
2021-11-02 05:03:27 +00:00
Siddharth Kapoor
79b0ea41ef Add GPU Power-on hint for LAUNCH am: 0b13fa4150
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16091140

Change-Id: I367712736fb7fa56c579687516ef5cde5e374b72
2021-11-02 05:03:24 +00:00
Siddharth Kapoor
0b13fa4150 Add GPU Power-on hint for LAUNCH
Bug: 201718421
Test: trace while App launch
Change-Id: I5f994cf87a1696f843a2419d52133ccc5951d23c
Signed-off-by: Siddharth Kapoor <ksiddharth@google.com>
2021-11-02 02:31:15 +00:00
George Lee
ed66e65380 bcl: disable SOFT_OCP_WARN HW divider am: 0a838b3284
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16141872

Change-Id: I593ff4c815dfc2f1be5a5cdc315c41ac2f2d896b
2021-11-01 19:32:17 +00:00
George Lee
0a838b3284 bcl: disable SOFT_OCP_WARN HW divider
Bug: 201546866
Test: Local Test to verify readback of register
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I4c303bc18d0a6bcc3b83a4cde9aca9b49e63daa7
2021-11-01 17:54:14 +00:00
Aaron Ding
b32081ed6f Enable VABC OTA am: 81b8d2cbd6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16091241

Change-Id: Id9532da6ac4deca860eb661753b792c680f044af
2021-10-28 19:06:00 +00:00
Aaron Ding
aad20a2f04 Enable VABC OTA
Bug: 203437381
Change-Id: If9eb8a4b1cefb75cf3d310a27a52aa889b28d0b5
Signed-off-by: Aaron Ding <aaronding@google.com>
2021-10-28 18:45:34 +00:00
Victor Liu
1765c8c039 uwb: remove device name from gs101 am: 7015cac768
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16125346

Change-Id: I5eccd692b4ad80994099ee94aefca6e4c2b1d2b9
2021-10-28 06:41:55 +00:00
Victor Liu
4e79160e93 uwb: remove device name from gs101
Bug: 203746316
Change-Id: I0359a8d2047d39d61d68b32234bfeec5f3440236
Merged-In: I0359a8d2047d39d61d68b32234bfeec5f3440236
2021-10-28 06:29:35 +00:00
Siddharth Kapoor
0ee807ae2b Add GPU Power-on hint for LAUNCH am: ab346bd080
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16120996

Change-Id: I568ded9e8738dc3b9ff05eb15240b8e77f704bd5
2021-10-28 01:08:50 +00:00
Siddharth Kapoor
57e119f053 Add GPU Power-on hint for LAUNCH
Bug: 201718421
Test: trace while App launch
Change-Id: I5f994cf87a1696f843a2419d52133ccc5951d23c
Signed-off-by: Siddharth Kapoor <ksiddharth@google.com>
2021-10-28 00:45:10 +00:00
Edwin Tung
4042442465 [DO NOT MERGE] gps: update gps driver 129.20.23.518574 am: 6728033aa3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16101543

Change-Id: If077d43a1f883db2e6486f179abee19fad1adf9b
Test: build pass
2021-10-27 23:00:50 +08:00
Edwin Tung
28f628e17c [DO NOT MERGE] gps: update gps driver 129.20.23.518574
Report agnss position even no NLP location
Fix to delete RTO too when delete all aiding received
Add mutex to protect malloc/free
Fix for the bug of power mode logging in ONCHIP_NMEA
Reporting PLMN (MCC+MNC) of SIM and Network
Fix GPS outage when OnChip/Host switching
Fix LPPe UBP issue
Fix gpsd crash issue

Bug: 202366527
Bug: 199818363
Bug: 199048681
Bug: 201582435
Bug: 199114573
Bug: 197716902
Bug: 195383842
Bug: 200107911
Bug: 203068978

Sanity Test: 203854792
Test: build pass

Change-Id: I27f314a4b2b5a82e27186a170f10b1041b7d0650
2021-10-27 14:09:08 +00:00
Jiyong Park
3ab3c1e1d6 [automerger skipped] Remove ndk_platform backend. Use the ndk backend. am: 8907a4f4b9 -s ours am: c4b66a0cdb -s ours am: 9b304b8996 -s ours
am skip reason: Merged-In I25ec19101c408cc29df38d127f284c7085fe1d1a with SHA-1 493c5f6adb is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16119647

Change-Id: Id25bf35019a1d0dab12fc70feb3d29fe0ae05842
2021-10-27 07:03:01 +00:00
Jiyong Park
64e9dd982e [automerger skipped] Remove ndk_platform backend. Use the ndk backend. am: 920293d589 -s ours am: acb8ef6316 -s ours am: 4b8694a86c -s ours
am skip reason: Merged-In Iebc1c5d4c277e96cf7564d882aeecb084adc53ee with SHA-1 3428793114 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16119646

Change-Id: If689b4862242989347315ab242fb7199afbe7dcd
2021-10-27 07:02:59 +00:00
Jiyong Park
96c68d5a95 [automerger skipped] Remove ndk_platform backend. Use the ndk backend. am: 8907a4f4b9 -s ours am: c4b66a0cdb -s ours
am skip reason: Merged-In I25ec19101c408cc29df38d127f284c7085fe1d1a with SHA-1 493c5f6adb is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16119647

Change-Id: I4dbf8ae7ae219f3fd56c365e52943679a83dd19e
2021-10-27 06:46:16 +00:00
Jiyong Park
0fae191179 [automerger skipped] Remove ndk_platform backend. Use the ndk backend. am: 920293d589 -s ours am: acb8ef6316 -s ours
am skip reason: Merged-In Iebc1c5d4c277e96cf7564d882aeecb084adc53ee with SHA-1 3428793114 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16119646

Change-Id: Icbc02cc8c61eb5769da905be939f52db3847091d
2021-10-27 06:46:15 +00:00
Jiyong Park
73ad7b32d0 [automerger skipped] Remove ndk_platform backend. Use the ndk backend. am: 8907a4f4b9 -s ours
am skip reason: Merged-In I25ec19101c408cc29df38d127f284c7085fe1d1a with SHA-1 493c5f6adb is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16119647

Change-Id: I6b10b89ad4dd7b73830f26d0f5d70e7645b5d19f
2021-10-27 06:27:14 +00:00
Jiyong Park
e30c8d7216 [automerger skipped] Remove ndk_platform backend. Use the ndk backend. am: 920293d589 -s ours
am skip reason: Merged-In Iebc1c5d4c277e96cf7564d882aeecb084adc53ee with SHA-1 3428793114 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16119646

Change-Id: I23c6aa34149143db8d5f103604e606f7c4694b24
2021-10-27 06:27:12 +00:00
shawnlin
b2f60e5ee4 Remove resource overlays for system bar heights am: b13036e2d1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16044454

Change-Id: Ifa1b4fe25a9ecc450227fd8b096a3893a65351af
2021-10-27 05:27:19 +00:00
shawnlin
0aa99d3b57 Remove resource overlays for system bar heights
With the new added APIs, we don't need to overlay status_bar_height that
contains cutout size and quick_qs_offset_height anymore.

Bug: 186604541
Test: make
Change-Id: I474e7272c3240bbc36ddbb43f565e0eaed96b29e
2021-10-27 05:12:16 +00:00
Jiyong Park
97dbda85c0 Remove ndk_platform backend. Use the ndk backend. am: 493c5f6adb am: c33a459eb2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16126494

Merged-In: I25ec19101c408cc29df38d127f284c7085fe1d1a
Change-Id: Ibca1e00f1e410e88c231329cabe7ede131a20b7c
2021-10-27 12:29:09 +09:00
Jiyong Park
2cba9caeb1 Remove ndk_platform backend. Use the ndk backend. am: 3428793114 am: 7760ffc444
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16119649

Change-Id: Id83ed275af2699344d9eee747cbcd8c7e9333789
2021-10-27 03:17:32 +00:00
Jiyong Park
2ec7b3ed96 Remove ndk_platform backend. Use the ndk backend. am: 493c5f6adb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16119650

Merged-In: I25ec19101c408cc29df38d127f284c7085fe1d1a
Change-Id: I27e0477d8673dd78fd96a2ceddc597f8435372c5
2021-10-27 10:28:53 +09:00
Jiyong Park
a259a1db18 Remove ndk_platform backend. Use the ndk backend. am: 3428793114
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16119649

Change-Id: I2657a0f2342879a8897af8677b3ec665e3a723e4
2021-10-27 01:05:57 +00:00
Rick Yiu
3b0eb42f09 Configure dex2oat group settings am: f3f1067a71
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16101540

Change-Id: I2880db844b2f9b00b8c391b39f70e505c6e5a768
2021-10-26 07:24:42 +00:00
Rick Yiu
1b06962002 Configure dex2oat group settings
Also associate with its vendor group.

Bug: 201223712
Test: build pass
Change-Id: I86a2e2eb628d2f412079e9c8321809f48b1e4be3
2021-10-26 07:09:27 +00:00
Jiyong Park
33a1aaa056 Remove ndk_platform backend. Use the ndk backend.
The ndk_platform backend will soon be deprecated because the ndk backend
can serve the same purpose. This is to eliminate the confusion about
having two variants (ndk and ndk_platform) for the same ndk backend.

The prebuilt files had a reference to
android.hardware.gnss-V1-ndk_platform.so. Change it to
android.hardware.gnss-V1-ndk.so by diretly editing the DT_NEEDED entry.

Bug: 161456198
Test: m
Merged-In: I25ec19101c408cc29df38d127f284c7085fe1d1a
Change-Id: I25ec19101c408cc29df38d127f284c7085fe1d1a
2021-10-26 15:39:21 +09:00
Jiyong Park
96a77be5a3 Remove ndk_platform backend. Use the ndk backend.
The ndk_platform backend will soon be deprecated because the ndk backend
can serve the same purpose. This is to eliminate the confusion about
having two variants (ndk and ndk_platform) for the same ndk backend.

Bug: 161456198
Test: m
Merged-In: Iebc1c5d4c277e96cf7564d882aeecb084adc53ee
Change-Id: Iebc1c5d4c277e96cf7564d882aeecb084adc53ee
(cherry picked from commit 25368375b1759a13cacbfa1a9a183d4eee7381b2)
2021-10-26 15:36:47 +09:00
Jiyong Park
8df53b2407 Remove ndk_platform backend. Use the ndk backend.
The ndk_platform backend will soon be deprecated because the ndk backend
can serve the same purpose. This is to eliminate the confusion about
having two variants (ndk and ndk_platform) for the same ndk backend.

The prebuilt files had a reference to
android.hardware.gnss-V1-ndk_platform.so. Change it to
android.hardware.gnss-V1-ndk.so by diretly editing the DT_NEEDED entry.

Bug: 161456198
Test: m
Merged-In: I25ec19101c408cc29df38d127f284c7085fe1d1a
Change-Id: I25ec19101c408cc29df38d127f284c7085fe1d1a
(cherry picked from commit 0e4aa8b8a1a5184cdb8330aded181cd7f5fec256)
2021-10-26 14:58:39 +09:00
Jiyong Park
c77442bde5 Remove ndk_platform backend. Use the ndk backend.
The ndk_platform backend will soon be deprecated because the ndk backend
can serve the same purpose. This is to eliminate the confusion about
having two variants (ndk and ndk_platform) for the same ndk backend.

Bug: 161456198
Test: m
Merged-In: Iebc1c5d4c277e96cf7564d882aeecb084adc53ee
Change-Id: Iebc1c5d4c277e96cf7564d882aeecb084adc53ee
(cherry picked from commit 25368375b1759a13cacbfa1a9a183d4eee7381b2)
2021-10-26 14:58:15 +09:00
Badhri Jagan Sridharan
d5d8e05ec2 pixelstats: Filter "PRODUCT_TYPE" uevent for reporting VID/PID am: 5e2fc95ba6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16009630

Change-Id: Ibd7b811421ccac5e5e6d15ab8e9fc08fad813f8b
2021-10-26 00:57:51 +00:00
Badhri Jagan Sridharan
a25b4d683b pixelstats: Filter "PRODUCT_TYPE" uevent for reporting VID/PID
gs101 has the kernel changes to report "PRODUCT_TYPE" upon plug-in.

Bug: 196104058
Test: adb shell cmd stats print-logs; adb logcat | grep 105011
Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
Change-Id: Ia61a3b2a693d4f2b630409dd786342743e330ef2
2021-10-26 00:29:14 +00:00
Victor Liu
5cc6053624 move uwb feature to system_ext am: 52317f994b am: ecc69f13a3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16088272

Change-Id: I4835db7f9a5771c7ffc9af97fad12c5964197db9
2021-10-20 16:06:08 +00:00
Victor Liu
b867055e6e move uwb feature to system_ext am: 52317f994b am: e6b821f5ad
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16088272

Change-Id: I113067279cca53e231f020f4493778f099fedeac
2021-10-20 16:05:24 +00:00