Rick Yiu
47fc3c8b83
gs101: Modify nnapi uclamp settings am: e963005a1a
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14877105
Change-Id: Ie160a8bf20eed7b3e40af289dcbf349f2c091552
2021-06-18 06:21:42 +00:00
Ray Chi
e827088e39
usb: set sys.usb.mtp.batchcancel to true am: 365e8ab3c3
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14997390
Change-Id: Iaac058115f1358722054e80078afb8a791239fda
2021-06-18 06:21:33 +00:00
Rick Yiu
3ce37fb4f1
gs101: Modify nnapi uclamp settings
...
Chaning setting for better benchmark performance.
Bug: 189074148
Test: build pass
Change-Id: I3c33147ec88494ff5b709063d6568add0e17933a
2021-06-18 06:20:30 +00:00
Ray Chi
70e1cd7c84
usb: set sys.usb.mtp.batchcancel to true
...
The cancelling behavior in MTP has two behaviors.
1. cancel requests one by one
2. batch cancel all requests
This patch will set the property to true to enable
batch cancel all requests.
Bug: 181729410
Test: build pass
Change-Id: I8d92cc676ff7be8fd22a574b32653bafc028b801
2021-06-18 06:03:59 +00:00
Badhri Jagan Sridharan
3a2a4b69d2
dumpstate: dump logbuffer tcpm logs in bugreport am: 5ee988edb7
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15018442
Change-Id: I237e9f7aeef43559815f14cad92b3d64d519d48f
2021-06-18 03:55:10 +00:00
Badhri Jagan Sridharan
6e44d2ee0c
dumpstate: dump logbuffer tcpm logs in bugreport
...
Bug: 189792358
Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
Change-Id: I64cf665985226c81ff23b32bda25c303d8031d5f
2021-06-17 16:19:38 -07:00
Wei Wang
d6b5c59cb5
Remove interaction boost completely am: ff2e2d13ff
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15004057
Change-Id: Icd4fee565ea30c44e6c178c4e3855c30b0574251
2021-06-17 08:08:11 +00:00
Wei Wang
a1a0bdb333
Remove interaction boost completely
...
Now HWUI app is using ADPF already, for those non-HWUI app (probably
mostly games), let us try to just use FPS based boosting only.
Bug: 177493042
Test: build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I63fe7ff6edcb57819461a8c0ed5f3f43c26e0137
2021-06-17 07:45:10 +00:00
Devika Krishnadas
389f7ae0c8
Increase maxFrameBufferAcquiredBuffers to 3 am: e7520f589d
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15003630
Change-Id: Ie060dc99a5e303d1794a7a50ffa633f6410ea6a4
2021-06-17 06:28:59 +00:00
Devika Krishnadas
e8b2e18eeb
Increase maxFrameBufferAcquiredBuffers to 3
...
When display and SF falls out of sync, there is a possibility that while
display holds on to a buffer, a composed buffer could be waiting in the
decon thread. Since maxFrameBufferAcquiredBuffers is 2, GPU will have to
wait for display to swap out the buffer it is currently presenting to be
able to compose for the next frame, which leads to SF missing its
timeline for subsequent frames.
Bug: 190842189
Test: perfetto
Signed-off-by: Devika Krishnadas <kdevika@google.com>
Change-Id: I434e8644cff2538589c1c9b2bf731afae0aa8980
2021-06-17 06:14:37 +00:00
Daniel Mentz
abc948daf0
Read vendor_boot.modules.load and vendor_dlkm.modules.load am: 3af1857b0b
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14513823
Change-Id: I1d0e869995135c7b4b4140d376bd695e454128a5
2021-06-17 04:24:08 +00:00
Daniel Mentz
6a6d8f81c2
Read vendor_boot.modules.load and vendor_dlkm.modules.load
...
Previously, we copied all available kernel modules into the vendor_boot
ramdisk except for approx. 14 modules that we explicitly excluded.
Going forward, the kernel build will distribute the two additional files
vendor_boot.modules.load and vendor_dlkm.modules.load which define,
respectively, the lists of modules that should be loaded from
vendor_boot and vendor_dlkm.
The contents of the two *.modules.load files will be copied almost
verbatim into modules.load files in the respective images except for the
fact that the directory names of the .ko files are stripped. So, for
example, kernel/net/core/pktgen.ko becomes just pktgen.ko.
Additionally, we only copy those .ko files into the vendor_boot image
that are listed in vendor_boot.modules.load. On the other hand, the
vendor_dlkm partition image will contain all .ko files regardless of
whether they are listed in vendor_dlkm.modules.load.
Bug: 190652328
Change-Id: Ibda5b9368547ad089575333e2566697ec0e8465f
2021-06-17 03:57:10 +00:00
Ted Lin
e5a99bf7fb
Donot dump debugfs information in user build. am: cb541b07a6
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14972994
Change-Id: I74d37157851f7acca7f9d433259c09a10a3d3b04
2021-06-17 02:04:58 +00:00
Ted Lin
9404fbc128
Donot dump debugfs information in user build.
...
------ TCPM logs (/vendor/bin/sh -c cat /sys/kernel/debug/usb/tcpm*) ------
*** command '/vendor/bin/sh -c cat /sys/kernel/debug/usb/tcpm*' failed: exit code 1
------ gvotables (/vendor/bin/sh -c cat /sys/kernel/debug/gvotables/*/status) ------
*** command '/vendor/bin/sh -c cat /sys/kernel/debug/gvotables/*/status' failed: exit code 1
06-16 10:01:14.700 logd 14845 14845 W sh : type=1400 audit(0.0:3294): avc: denied { read } for name="debug" dev="sysfs" ino=16052 scontext=u:r:hal_dumpstate_default:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0
Bug:187030022
Test: check the bugreport
Change-Id: I0c5b946321410dc04026aef0f06be9c2ace457d3
Signed-off-by: Ted Lin <tedlin@google.com>
2021-06-17 01:43:20 +00:00
Wei Wang
faa142a467
Fix app launch boost override by ADPF am: 4f4c2a1b04
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15002194
Change-Id: I66a54b9fd23b634d680e129fb3a62693dc507b82
2021-06-16 22:59:05 +00:00
Wei Wang
9e92582df5
Fix app launch boost override by ADPF
...
Bug: 177493042
Bug: 170487162
Test: Build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: Ifa6ec954396f05c1e98516f819b4e4e44e4a692d
2021-06-16 22:40:35 +00:00
David Anderson
87226c9332
Enable compressed snapshots/VABc. am: d101585ea8
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14947123
Change-Id: Ib81a351e4a6e198ef58947c7314fe73addac5273
2021-06-16 21:08:03 +00:00
Kelvin Zhang
d76457d435
Add a build time constant to disable VABC am: 455d871533
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14968799
Change-Id: I769a8a12fd994bbb8427b350f7ac47b5ef0366fa
2021-06-16 21:08:02 +00:00
David Anderson
2bfa6d3ba0
Enable compressed snapshots/VABc.
...
Bug: 185400304
Test: treehugger
Test: apply OTA
Change-Id: I1a2242b219f11212431a5a9207ec5a832e944c46
2021-06-16 20:48:14 +00:00
Kelvin Zhang
a8fdc57387
Add a build time constant to disable VABC
...
Test: m
Bug: 185400304
Change-Id: I4ed5676f4a1195f084ed447196ee9e3ce71ec84a
(cherry picked from commit c76afcf1ef68ce4e6362032aaa8b5e2ea77f9233)
2021-06-16 20:48:14 +00:00
Cyan_Hsieh
327fd8c824
Remove duplicate mk inherit am: 288dc595c0
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14997392
Change-Id: I73dcd0781df188250f399b84474bf2d58e3eca52
2021-06-16 11:49:49 +00:00
Cyan_Hsieh
dc2c524eb0
Remove duplicate mk inherit
...
Fix: 191233129
Change-Id: I84b72f196f23af6c7cad3c010617f100dcfc193a
2021-06-16 10:33:14 +00:00
Gillian Lin
f268e9e2d7
cts: VerifiedBootTest#testVerifiedBootSupport am: 84a4099e03
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14972996
Change-Id: I70e31eec09956c887dcec60459e8a0130b9635fc
2021-06-16 09:37:30 +00:00
Gillian Lin
579543db80
cts: VerifiedBootTest#testVerifiedBootSupport
...
android.software.verified_boot.xml should be copied to TARGET_COPY_OUT_VENDOR instead of TARGET_COPY_OUT_PRODUCT
Bug: 190401885
Test: run cts-on-gsi -m CtsSecurityTestCases -t android.security.cts.VerifiedBootTest#testVerifiedBootSupport
Change-Id: Id17176f07e6ae8843f71b10ad9d01b18640fe675
2021-06-16 09:24:24 +00:00
Adam Shih
0aa70449be
remove vcd from user ROM am: 8cc14ed0c4
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14941513
Change-Id: If091d59ad50f058231c626a361cfe7fdf1c8a690
2021-06-16 06:54:18 +00:00
Adam Shih
3e058b1e5c
remove vcd from user ROM
...
Bug: 190331325
Test: build all ROM variants with only user ROM without vcd
Change-Id: I0732f80c2adc663c807963b84c70080665212bb2
2021-06-16 06:40:27 +00:00
Edwin Tung
cbfaa3d554
gps: update gps driver 129.20.23.504156 am: 1266fa0996
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14963057
Change-Id: I37f4ab69b6aa00e173ddd7b9c8cdd042a4ffcc8c
2021-06-16 04:02:57 +00:00
Edwin Tung
3bbde56bae
gps: update gps driver 129.20.23.504156
...
Integrated CHPP- chpp-20210524-39bf8f5.zip
Adjust the noise table for GPS
False L5 SNR removed by adding valid peak check to L5 CN0
Fixed for SyncIn request to time out within 3 seconds
Support multiple measurement requests
Estimated better accuracy uncertainty in GLNS Only fix
Request UTC time from framework even if the request type is BREADCRUMB
Fixed Reset checking timer for default value of CpResetInvalidateSec to properly work
Bug: 188843280
Bug: 189793458
Bug: 188857474
Bug: 188127870
Bug: 188737899
Bug: 185200717
Bug: 184770261
Bug: 185884684
Sanity test: 190960119
Test: build pass
Change-Id: I969b3ce240583d726f28e93da76c74f1c369a505
2021-06-16 01:52:00 +00:00
Ahmed ElArabawy
1dcda84d03
WiFi: Modify OWNERS files am: 12ee99a6a1
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14983198
Change-Id: I975a95d79a013c91d9304b982e67d049e3aec644
2021-06-15 23:55:27 +00:00
Ahmed ElArabawy
0c6ba84d72
WiFi: Modify OWNERS files
...
Replace kumaranand@ with arabawy@ in OWNERS files
Bug: 191158491
Test: None
Change-Id: Iefc7343bc311f5642b165d24217ea8d264918ea2
2021-06-15 23:35:50 +00:00
Wei Wang
02a04efcb2
Relax SurfaceFlinger cpuset and adding uclamp.min for RenderEngine am: 028c5241b0
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14950241
Change-Id: I4ffd0a68a0b8aabfc08fb9dd54a7d5c17d7425e6
2021-06-15 19:46:22 +00:00
Wei Wang
2fee52bbf5
Relax SurfaceFlinger cpuset and adding uclamp.min for RenderEngine
...
SurfaceFlinger IPC improved with mid and big cores, relaxing cpuset will
help improve its efficiency. For render engine, we set uclamp.min to
skip scheduling on little cores.
FWIW, we let the RT scheduler figure out what is good for perf/power.
Bug: 170507315
Bug: 191054286
Test: Build and boot
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I880cf549e33a3a2f629e8260366c4ce8c34c3ae6
2021-06-15 19:15:18 +00:00
Armelle Laine
e6bfe00fae
ueventd.gs101.rc add /dev/trusty-log0 am: bd213b1d56
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14958127
Change-Id: I6054c3d4228642009d2227d83adaf503705d8add
2021-06-15 14:52:28 +00:00
Armelle Laine
e1b7442bc9
dumpstate: dump trusty log am: 20b9bee9bb
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14861976
Change-Id: I763fb44db02ff1a101b771e67bb9f818f1aa2641
2021-06-15 14:52:27 +00:00
Armelle Laine
e81847c70d
ueventd.gs101.rc add /dev/trusty-log0
...
Specify ownership to system and r/w permissions to user/group.
Allows dumpstate to access /dev/trusty-log0.
Bug: 188285071
Test: lshal debug android.hardware.dumpstate@1.1::IDumpstateDevice/default trusty
Change-Id: I935cb9dd11d1e0968ab0e2c9d7349de336502e7c
2021-06-15 14:35:43 +00:00
Armelle Laine
fbbe7e36c7
dumpstate: dump trusty log
...
Dump trusty log buffer
Bug: 188285071
Test: adb bugreport
Change-Id: Ic44816fe1df21e97ec87ec58cbc2f84abf0e6a98
2021-06-15 14:35:43 +00:00
samou
796eba5051
powerstats: Fill in P21 TPU power profile number am: 6527b9a843
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14715578
Change-Id: I70cb7dabf5437d0471be07e7d5f95ffc18102043
2021-06-15 11:36:54 +00:00
samou
c1cf9f84b5
powerstats: Fill in P21 TPU power profile number
...
Bug: 189249509
Change-Id: I134f3c005ec0eb17e97b829627ba22d552b7bfdb
2021-06-15 11:23:02 +00:00
Tai Kuo
4266059b87
dumpstate: show touch HDM debug info am: ed38dde296
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14964816
Change-Id: I66977cbfd1c8a775d0202e8047cc37f9821180de
2021-06-15 10:19:14 +00:00
Tai Kuo
ca8a4cc11d
dumpstate: show touch HDM debug info
...
Bug: 187174041
Test: trigger a bug report.
Signed-off-by: Tai Kuo <taikuo@google.com>
Change-Id: I0bd8329f087391c95447e015be6f576a4ecbb3e2
2021-06-15 10:04:29 +00:00
Fiona Campbell
58b9993011
Revert "usb: set sys.usb.mtp.batchcancel to true" am: e25ed304d7
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14966816
Change-Id: I443d80466904e8cefa37f28674c63ef09a19d43a
2021-06-15 09:33:00 +00:00
Fiona Campbell
283a690993
Revert "usb: set sys.usb.mtp.batchcancel to true"
...
Revert "Add sys.usb.mtp.batchcancel to usb_config_prop"
Revert submission 14910151-mtp_cancel-sc-dev
Reason for revert: DroidMonitor-triggered revert due to breakage https://android-build.googleplex.com/builds/quarterdeck?branch=git_sc-dev&target=cf_x86_64_phone-userdebug&lkgb=7458085&lkbb=7458560&fkbb=7458104 , bug b/191120942
Reverted Changes:
I44b2d9c36:Add sys.usb.mtp.batchcancel to usb_config_prop
I4e172fa62:MTP: add a new parameter for cancelEvents function...
Iad744e27e:usb: set sys.usb.mtp.batchcancel to true
Change-Id: I3189b76db2837f3c17b1cf42eaaed8da8cfb81ac
2021-06-15 08:52:16 +00:00
Ray Chi
3d32b53d9d
usb: set sys.usb.mtp.batchcancel to true am: 9fe933f068
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14788708
Change-Id: I42747f2a9c662d783b4904ef70bd01714f798e2f
2021-06-15 05:32:03 +00:00
Ray Chi
739399aed2
usb: set sys.usb.mtp.batchcancel to true
...
The cancelling behavior in MTP has two behaviors.
1. cancel requests one by one
2. batch cancel all requests
This patch will set the property to true to enable
batch cancel all requests.
Bug: 181729410
Test: build pass
Change-Id: Iad744e27e6f843ae22fc499efbb803be51e1b820
2021-06-15 05:16:02 +00:00
Super Liu
6ff49878bb
dumpstate: add touch #19 data type am: f3989ef7cb
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14972990
Change-Id: I8be0ea055465bfb1b54551333d729ef1696aef4b
2021-06-15 05:10:54 +00:00
Super Liu
69c195292b
dumpstate: add touch #19 data type
...
Bug: 174189876
Test: check bugreport for #19 data.
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: I288d8079528f99834a1867ab973535d4e7b383b6
2021-06-15 04:55:54 +00:00
ChengYou Ho
54e1ad5f76
Report Verified Boot support am: 87339dfedd
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14791870
Change-Id: Icbfb1bfe36f57756b69002c653f528bd20845b8e
2021-06-15 04:02:16 +00:00
ChengYou Ho
ca32deaaf1
Report Verified Boot support
...
Bug: 187375216
Test: CtsSecurityTestCases
Change-Id: I26304f48019a4c5df7aa683eb19236125ddb5cd3
2021-06-15 03:41:30 +00:00
Ted Lin
1976d725ad
Remove the attribute set from init.rc for debugfs am: b0ae57afda
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14914950
Change-Id: I2ee545382486b539e234edc3c20f929d604e5f27
2021-06-15 02:55:32 +00:00
Ted Lin
0671df09b8
Remove the attribute set from init.rc for debugfs
...
[ 2.993897] audit: type=1400 audit(1623037840.652:4): avc: denied { setattr } for
pid=374 comm="init" name="registers" dev="debugfs" ino=9 scontext=u:r:vendor_init:s0
tcontext=u:object_r:vendor_regmap_debugfs:s0 tclass=file permissive=0
[ 3.079941] audit: type=1400 audit(1623037840.740:7): avc: denied { setattr } for pid=374 comm="init" name="fg_model" dev="debugfs" ino=18 scontext=u:r:vendor_init:s0 tcontext=u:object_r:vendor_maxfg_debugfs:s0 tclass=file permissive=0
Bug: 190337297
Test: check bugreport
Change-Id: Ia6d33d6192b230be763e52298b86a21b632ffa90
Signed-off-by: Ted Lin <tedlin@google.com>
2021-06-15 02:37:45 +00:00