Commit graph

1105 commits

Author SHA1 Message Date
Badhri Jagan Sridharan
13780c986f dumpstate: dump logbuffer tcpm logs in bugreport am: 5ee988edb7 am: e5bb8985b9 am: 6f1fd10e0e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15018442

Change-Id: I1d7a9078cac09d2da62feb01243778d0c239ca7f
2021-06-18 04:22:39 +00:00
Badhri Jagan Sridharan
1a6303604a dumpstate: dump logbuffer tcpm logs in bugreport am: 5ee988edb7 am: 23d0caab4d am: 3a43012eba
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15018442

Change-Id: Iaf092e281f39b131a103399d7f65f7f5c6ad45d2
2021-06-18 04:21:24 +00:00
Badhri Jagan Sridharan
ee51ee9d6e dumpstate: dump logbuffer tcpm logs in bugreport am: 5ee988edb7 am: e5bb8985b9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15018442

Change-Id: If7bc93c17ea7ec8f4503aaf52bfeee002d915d19
2021-06-18 04:10:47 +00:00
Badhri Jagan Sridharan
891c6c6749 dumpstate: dump logbuffer tcpm logs in bugreport am: 5ee988edb7 am: 23d0caab4d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15018442

Change-Id: I8bd5e6a2f3dd73f5b508077597510651b6328207
2021-06-18 04:08:42 +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
cf113f4e9c Remove interaction boost completely am: ff2e2d13ff am: 75bbfd741c am: a9e1f7c24b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15004057

Change-Id: I04fd255032cf1af5b0fb5bcecb570da1b8a54d4b
2021-06-17 08:30:56 +00:00
Wei Wang
55a4d72632 Remove interaction boost completely am: ff2e2d13ff am: 75bbfd741c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15004057

Change-Id: I6878d3c228d4a586de430babd9efed0fc60a932a
2021-06-17 08:19:19 +00: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
49e6a384d5 Increase maxFrameBufferAcquiredBuffers to 3 am: e7520f589d am: cdf8e2c9b0 am: 3f8cf61183
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15003630

Change-Id: I8c7216a8d849a99824c4ad7acc92ffe328036f72
2021-06-17 07:03:53 +00:00
Devika Krishnadas
99bdf5a5a0 Increase maxFrameBufferAcquiredBuffers to 3 am: e7520f589d am: cdf8e2c9b0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15003630

Change-Id: I362d40ab00893ef2685f878c57a16de531781829
2021-06-17 06:47:20 +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
ea85f911bc Read vendor_boot.modules.load and vendor_dlkm.modules.load am: 3af1857b0b am: c6915f105c am: 8913d6074f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14513823

Change-Id: I01f00d4c5a5daf51f9173f21fe68f8540cf33589
2021-06-17 04:53:40 +00:00
Daniel Mentz
1f6e5fc4b6 Read vendor_boot.modules.load and vendor_dlkm.modules.load am: 3af1857b0b am: c6915f105c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14513823

Change-Id: Ic0e5bee7dc1928a418e65cc50b816f1a72884535
2021-06-17 04:39:39 +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
60ea3c0416 Donot dump debugfs information in user build. am: cb541b07a6 am: c43834f9e4 am: d39cd673cf
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14972994

Change-Id: I726eca3a433c1f42ad5aa22653cfe65be8b85c88
2021-06-17 02:34:00 +00:00
Ted Lin
c21299806f Donot dump debugfs information in user build. am: cb541b07a6 am: c43834f9e4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14972994

Change-Id: I3e54a49c7d561f317ad8fe3039316a7c78d94517
2021-06-17 02:16:46 +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
b62a3df7cd Fix app launch boost override by ADPF am: 4f4c2a1b04 am: 9ee739b439 am: 037700cdf6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15002194

Change-Id: I7743f6ae4fc59489ee336534189484ef9cf23d1e
2021-06-16 23:24:48 +00:00
Wei Wang
6dde232d9f Fix app launch boost override by ADPF am: 4f4c2a1b04 am: 84f49d09b1 am: 6d7988d2ec
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15002194

Change-Id: Id643276bd7c150ad4fbb6d8b6ad9bd74479a3339
2021-06-16 23:24:25 +00:00
Wei Wang
3271be5d7e Fix app launch boost override by ADPF am: 4f4c2a1b04 am: 9ee739b439
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15002194

Change-Id: I7b36d0a34242ec4d5f20ac8e43ae069ffccc8587
2021-06-16 23:16:15 +00:00
Wei Wang
948d59556c Fix app launch boost override by ADPF am: 4f4c2a1b04 am: 84f49d09b1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15002194

Change-Id: Id3e2525a0c3ebbc4fa905906d2bf3276df9bd221
2021-06-16 23:08:37 +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
0a730d8f48 Enable compressed snapshots/VABc. am: d101585ea8 am: 466a4fd376 am: 47b7109738
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14947123

Change-Id: I6a015cf7a5524c3f88391388f85d99e1a1719b57
2021-06-16 21:55:09 +00:00
Kelvin Zhang
f083cfe3da Add a build time constant to disable VABC am: 455d871533 am: 9e6c067ba5 am: cf1bb431b6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14968799

Change-Id: I99b926632fea26591d274ee1d0db045c0650d1ed
2021-06-16 21:55:08 +00:00
David Anderson
b8385a0077 Enable compressed snapshots/VABc. am: d101585ea8 am: 466a4fd376
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14947123

Change-Id: I7073f45bc4a028a11a2ea499409b4bf02467ac77
2021-06-16 21:28:54 +00:00
Kelvin Zhang
0d5ccd613e Add a build time constant to disable VABC am: 455d871533 am: 9e6c067ba5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14968799

Change-Id: I306d753b19a90b758f7be6c15df4e65ff617166e
2021-06-16 21:28:52 +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
048dd115f5 Remove duplicate mk inherit am: 288dc595c0 am: 1bf6e55ad6 am: b0c30b6cf0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14997392

Change-Id: I5426ebc3db843482fd82c0b926fee1ba69023ddd
2021-06-16 12:13:52 +00:00
Cyan_Hsieh
1d4546de71 Remove duplicate mk inherit am: 288dc595c0 am: 57541da4ab am: cd65bbcc92
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14997392

Change-Id: Ie271b5fc80e9f0a630eb291107be377d73267032
2021-06-16 12:13:45 +00:00
Cyan_Hsieh
500422cee9 Remove duplicate mk inherit am: 288dc595c0 am: 1bf6e55ad6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14997392

Change-Id: I2480dffcc81f4012106d529d06b3b350e6abe3c8
2021-06-16 12:04:30 +00:00
Cyan_Hsieh
016b24a42e Remove duplicate mk inherit am: 288dc595c0 am: 57541da4ab
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14997392

Change-Id: Ic77da8ec445559889861bfcd95253dfa4586680d
2021-06-16 11:59:38 +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
6d25be7804 cts: VerifiedBootTest#testVerifiedBootSupport am: 84a4099e03 am: 6d820bb326 am: ff62f4ebe6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14972996

Change-Id: Ic7717caade56aa04d7db08e094104b2fd507f6a9
2021-06-16 10:14:32 +00:00
Gillian Lin
6f43632872 cts: VerifiedBootTest#testVerifiedBootSupport am: 84a4099e03 am: 6d820bb326
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14972996

Change-Id: I05cb04b630ed14422a23398c395ff856358fda63
2021-06-16 09:54:33 +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
6db8d3a3ce remove vcd from user ROM am: 8cc14ed0c4 am: 02f776f3be am: 0479005f42
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14941513

Change-Id: Id381336cf285ab64cb343c46064e03423ebb28e6
2021-06-16 07:22:16 +00:00
Adam Shih
094d03f1fd remove vcd from user ROM am: 8cc14ed0c4 am: 02f776f3be
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14941513

Change-Id: Id29442c1e5a56c01bc989744d555acf52df4470c
2021-06-16 07:09:17 +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