Commit graph

939 commits

Author SHA1 Message Date
Yu(Swim) Chih Ren
42f73dc65e Remove clock boost configuration for MIF,TNR,CAMINT when CAMERA_LAUNCH in powerhint.json am: 51883e751e am: 5e5c326208 am: 6099616600
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14930014

Change-Id: I60ffe2ae62b454ecae4983416a3d6d8e7143722e
2021-06-10 11:05:28 +00:00
Yu(Swim) Chih Ren
d89b255536 Remove clock boost configuration for MIF,TNR,CAMINT when CAMERA_LAUNCH in powerhint.json am: 51883e751e am: 5e5c326208
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14930014

Change-Id: Ie3183652db70746075deabb663b618ec5781ac01
2021-06-10 10:47:19 +00:00
Yu(Swim) Chih Ren
b324693b5a Remove clock boost configuration for MIF,TNR,CAMINT when CAMERA_LAUNCH in powerhint.json am: 51883e751e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14930014

Change-Id: I18e87072d333cbf61dd3c10c42f6e10d8b15dca9
2021-06-10 10:32:58 +00:00
eddielan
e80b38ec06 gs101: Use findstring to filter factory build target am: b70217e433 am: cb2548617b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14930016

Change-Id: I7cd923032f9f4b0cb3fab285e345954f6eeb05c0
2021-06-10 09:50:28 +00:00
eddielan
1d0cc0e477 gs101: Use findstring to filter factory build target am: b70217e433
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14930016

Change-Id: I061455a751475651c544e61aee90d3643bea5d68
2021-06-10 09:30:54 +00:00
Yu(Swim) Chih Ren
acfa6b834f Remove clock boost configuration for MIF,TNR,CAMINT when CAMERA_LAUNCH in powerhint.json
Reason for remove: face enroll fail

Bug: 168654554
Bug: 187759712

Test: check ISP clock freq no change on local device
Change-Id: I7d70c1fdd7e5d067db1941cced69a375b66ebc89
2021-06-10 09:28:08 +00:00
eddielan
0964f14595 gs101: Use findstring to filter factory build target
Bug: 190687357
Test: Build pass
Change-Id: I0f1fdde9ca01f8f06dcf026d47a98785cf35df57
2021-06-10 09:18:39 +00:00
Adam Shih
14b92cbe5b reorganize trusty_metricsd settings am: 187a532e2a am: ed80d1279e am: 2a598d1526
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14909767

Change-Id: I8ed00b26c6894aba7b75951e5f5a353d42678dde
2021-06-10 06:40:51 +00:00
Adam Shih
e38d1c59b4 reorganize trusty_metricsd settings am: 187a532e2a am: ed80d1279e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14909767

Change-Id: Ie6c68827e0372152a15d89e8013bf634f68b514b
2021-06-10 06:24:28 +00:00
Adam Shih
ce0410dcf2 reorganize trusty_metricsd settings am: 187a532e2a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14909767

Change-Id: I8f2d109a257b4764f6ee94f58ba1ddd69a30111f
2021-06-10 06:13:25 +00:00
Adam Shih
cdc350b5e6 reorganize trusty_metricsd settings
Bug: 190331503
Test: build ROM and see the file and sepolicy settings are still there
Change-Id: I212df916799b8acf831158153209bd2a1f7dfc5f
2021-06-10 05:52:40 +00:00
Rick Yiu
2fa258f614 gs101: Refine vendor_sched parameters am: 97bbe9920b am: efbc524152 am: acd0e667a5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14776176

Change-Id: I70df6362e7795556466dee93cd90f2870bf203a7
2021-06-10 05:16:52 +00:00
Rick Yiu
bba42c58aa gs101: Refine vendor_sched parameters am: 97bbe9920b am: efbc524152
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14776176

Change-Id: Iabe47c4a6b1deeb7c42ffe573c0fc25cc0ee7c09
2021-06-10 04:59:16 +00:00
Rick Yiu
60d189734e gs101: Refine vendor_sched parameters am: 97bbe9920b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14776176

Change-Id: I3276379abf39e3e0224bfc82bf0a4f3a78245b7d
2021-06-10 04:36:39 +00:00
Rick Yiu
7e195263bf gs101: Refine vendor_sched parameters
Also set 512 to bg_group_throttle.

Bug: 170508405
Test: value set correctly
Change-Id: I5ff0a9630b459b8783f358106da4ca2a20154636
2021-06-10 04:16:44 +00:00
Adam Shih
e66fb022de organize EdgeTPU modules and sepolicy am: f3966f6bcb am: 73d3a1358b am: 4287dfc98f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14909756

Change-Id: I579405d75917dc8f516049f2c2102c493155c890
2021-06-10 03:46:14 +00:00
Adam Shih
7911e30e09 organize EdgeTPU modules and sepolicy am: f3966f6bcb am: 316f65b034 am: fd439b40e8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14909756

Change-Id: Ifa5c82eef566fe848ee9f165c1811c7ed0e882cb
2021-06-10 03:46:05 +00:00
Adam Shih
1e6f9ad7fa organize EdgeTPU modules and sepolicy am: f3966f6bcb am: 73d3a1358b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14909756

Change-Id: I4fbf3fccd99b0ada4f1d98c217a4ca1582037bd8
2021-06-10 03:29:20 +00:00
Adam Shih
8243cd9a3b organize EdgeTPU modules and sepolicy am: f3966f6bcb am: 316f65b034
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14909756

Change-Id: I29912936a8f5920f14daaec07182f7fa6c7d8e42
2021-06-10 03:24:10 +00:00
Adam Shih
91a2235621 organize EdgeTPU modules and sepolicy am: f3966f6bcb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14909756

Change-Id: Ibdd2be9697a4edd2cf749ff96a180972a6190fc6
2021-06-10 03:12:37 +00:00
Adam Shih
a169c37d9d organize EdgeTPU modules and sepolicy
Bug: 190331327
Bug: 190331548
Bug: 189895600
Bug: 190331108
Bug: 182524105
Bug: 183935302
Test: build ROM and check if the modules and sepolicy are still there
Change-Id: Id28ac2094e14051defe0401055d862c6353194f7
2021-06-10 02:53:28 +00:00
David Chao
1cf44e4937 powerhint: thermal: Support powerhint to change tmu control-temp am: 7769380db2 am: e8609547e6 am: bfb99ccb74
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14702506

Change-Id: I4a87becab9fca5659f706771acd4fbf53b12d942
2021-06-09 08:33:08 +00:00
David Chao
e17df60cf1 powerhint: thermal: Support powerhint to change tmu control-temp am: 7769380db2 am: b684beb56f am: b48466de7b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14702506

Change-Id: I49818247cbc07e70b6d1617e168358a40bc944e4
2021-06-09 08:32:49 +00:00
David Chao
b37cdc9c19 powerhint: thermal: Support powerhint to change tmu control-temp am: 7769380db2 am: e8609547e6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14702506

Change-Id: Ibe2a2e9a43c8ca9e04af9aad21e41f0cd76d7008
2021-06-09 08:27:11 +00:00
David Chao
153e5e4abc powerhint: thermal: Support powerhint to change tmu control-temp am: 7769380db2 am: b684beb56f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14702506

Change-Id: Ie40d0694bb7d7e55eb49630b4acbde7c777920cd
2021-06-09 08:21:15 +00:00
David Chao
e60df59a2e powerhint: thermal: Support powerhint to change tmu control-temp am: 7769380db2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14702506

Change-Id: I797f3f9bf01abac35807437263721b310a6632c3
2021-06-09 08:08:15 +00:00
David Chao
851357462f powerhint: thermal: Support powerhint to change tmu control-temp
Bug: 188579571
Test: powerhint changed control-temp properly.
Change-Id: I7d57ab3b3895d2f358d0bd1911224325ede9dd51
Signed-off-by: David Chao <davidchao@google.com>
2021-06-09 14:31:39 +08:00
chened
a9835aff69 camera: disable partial result by default for factory build am: ffcefc5e07 am: 70ccde1536 am: 0bccfad24f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14877091

Change-Id: Ibd76acb95d217c42e55234fe18dcd64b01bc4c18
2021-06-09 06:11:44 +00:00
chened
d9d9a0fffd camera: disable partial result by default for factory build am: ffcefc5e07 am: 70ccde1536
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14877091

Change-Id: I737f46863ec835934b544e9c886aca5cc599e2ce
2021-06-09 05:56:46 +00:00
chened
d9fba5c69c camera: disable partial result by default for factory build am: ffcefc5e07
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14877091

Change-Id: Icca62c406ea3d3913db21e93d610a64860d4f2cc
2021-06-09 05:44:08 +00:00
chened
a5afec518c camera: disable partial result by default for factory build
Test: build pass
Bug: 190228974
Bug: 190250102
Change-Id: I92c6d3f9e85a3b9d04a48b5c6d8cd5bdde7a63c0
2021-06-09 05:22:44 +00:00
Yu(Swim) Chih Ren
6d602679c3 Use powerhint to increase mem, intcam, tnr clock when camera lunch to am: 2e92edf1be am: 0f4eea7705 am: afe5119bd7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14807273

Change-Id: I8fbcf44b3103ccd853feded72f02199a07f33e05
2021-06-09 05:20:44 +00:00
Yu(Swim) Chih Ren
937b81ea8f Use powerhint to increase mem, intcam, tnr clock when camera lunch to am: 2e92edf1be am: 0f4eea7705
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14807273

Change-Id: I1ba8b8bfd794523c021e7b5c8e204f41b28c3423
2021-06-09 04:59:56 +00:00
Yu(Swim) Chih Ren
be3aa1785f Use powerhint to increase mem, intcam, tnr clock when camera lunch to am: 2e92edf1be
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14807273

Change-Id: I183ec3b71ff24eeade0198e542bd97fe6bb51353
2021-06-09 04:37:08 +00:00
Yu(Swim) Chih Ren
09706755b6 Use powerhint to increase mem, intcam, tnr clock when camera lunch to
improve camera start performace

Bug: 168654554

Test: 1. check clock freq related file when camera start
      2. P21 camera checklist

Change-Id: I3447a6028846cc873e9c7195826c470bceaf03c8
2021-06-09 04:18:05 +00:00
Adam Shih
aa8a4cf5c3 modulize hal_neuralnetwork_armnn am: 556df03c4c am: 8c5aab6008 am: c92e2c1a63
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14881194

Change-Id: Ic0f97e2772546164d537b83efb03b36baf51062b
2021-06-09 04:02:00 +00:00
Daniel Mentz
2edbe350bb gs101: migrate to bootimg header v4 (second attempt) am: fbe5ace1a8 am: 64fc74cf13 am: 612a937aa9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14315232

Change-Id: I337b7e1ee2aab11b54626b8877b92a418b840705
2021-06-09 04:01:43 +00:00
Adam Shih
222b7c5c33 modulize hal_neuralnetwork_armnn am: 556df03c4c am: 3d28076178 am: 74efb31d84
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14881194

Change-Id: Icaa59b79ab9bc50e7b3855ee627a65f14c73fe55
2021-06-09 04:01:29 +00:00
Adam Shih
7e5c8c09bf modulize hal_neuralnetwork_armnn am: 556df03c4c am: 8c5aab6008
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14881194

Change-Id: Ifc02aff5851591b80f5ed18d3984207541537c33
2021-06-09 04:01:27 +00:00
Daniel Mentz
1a2eb339f8 gs101: migrate to bootimg header v4 (second attempt) am: fbe5ace1a8 am: 685334d781 am: c7d7f7b6f0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14315232

Change-Id: Ie6d186efaffd6d94c2784dd5badc1e25eb8eaf6e
2021-06-09 04:01:22 +00:00
Daniel Mentz
f6d896e196 gs101: migrate to bootimg header v4 (second attempt) am: fbe5ace1a8 am: 64fc74cf13
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14315232

Change-Id: I8b34543f0bf9619d199ccb0703d96b096502310e
2021-06-09 04:01:17 +00:00
Adam Shih
3ab2148f5c modulize hal_neuralnetwork_armnn am: 556df03c4c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14881194

Change-Id: Id4b86796a82cc7637fb468d7bb5d02a493624a46
2021-06-09 03:37:23 +00:00
Adam Shih
2b767565b1 modulize hal_neuralnetwork_armnn am: 556df03c4c am: 3d28076178
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14881194

Change-Id: I7f1d702f0367bf74fc7af629e65986f8e04974a9
2021-06-09 03:37:21 +00:00
Daniel Mentz
94c8fe6cd5 gs101: migrate to bootimg header v4 (second attempt) am: fbe5ace1a8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14315232

Change-Id: I472a2aa6cbd6240fa0fe942e78f5aeb0bdefdc11
2021-06-09 03:37:18 +00:00
Daniel Mentz
434ee2148d gs101: migrate to bootimg header v4 (second attempt) am: fbe5ace1a8 am: 685334d781
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14315232

Change-Id: I857a1550908d36cb86af3288fa8cbc1a42e46ab0
2021-06-09 03:37:15 +00:00
Adam Shih
e89080c7a6 modulize hal_neuralnetwork_armnn
Bug: 189895314
Bug: 171160755
Bug: 171670122
Bug: 180858476
Test: make sure all affected devices' armnn module has the right label
Change-Id: Ie618a5477b4e447774b20a58c9f091ae9fe529d6
2021-06-08 23:03:04 +00:00
Daniel Mentz
c37a73b74f gs101: migrate to bootimg header v4 (second attempt)
We migrate to bootimg header v4 and build the following two vendor
ramdisk fragments.

Type: Platform, Name: "", Contents: Everything but kernel modules
Type: DLKM, Name: "dlkm", Contents: Kernel modules (incl. modules.load etc.)

Bug: 183237066
Change-Id: I626cb87ba8111d0615b80cf981ebc288893a0624
2021-06-08 22:29:48 +00:00
Lucas Dupin
092b90cda5 Enable blurs am: 4f86cdd63f am: 6259a4c77b am: 38d4abf87b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14829939

Change-Id: Ieabf9803dfc20d36d786d21bc0f22ff3480cd66e
2021-06-08 17:25:25 +00:00
Lucas Dupin
ee48d1ed8f Enable blurs am: 4f86cdd63f am: 6259a4c77b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14829939

Change-Id: I2648b87d2f25b8e3d75904b168e60ad5ee1a1839
2021-06-08 17:10:20 +00:00
Lucas Dupin
0dfc2535ba Enable blurs am: 4f86cdd63f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14829939

Change-Id: I4a560047f3225503c41184362dd2cbe4aa53db39
2021-06-08 16:56:38 +00:00