Commit graph

1559 commits

Author SHA1 Message Date
Albert Wang
b64e7cb973 Move init.gs101.usb.rc under hw/ am: b6c1a1d04e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15167660

Change-Id: I0f3871f3668a6bc4719879165ab3d2d11a520423
2021-07-07 15:33:07 +00:00
Albert Wang
ed651c86bf Move init.gs101.usb.rc under hw/
Bug: 192498561
Test: boot to home normally
Signed-off-by: Albert Wang <albertccwang@google.com>
Change-Id: I465a668035cf03c6ac9587a6d48d22e2f52133d0
2021-07-07 15:18:17 +00:00
Ethan Lin
4c18dd19ea Modify GCA_CAMERA_SHOT power hints for better performance. am: c2264dc421 am: 6a2d247045
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15207634

Change-Id: I1270a35b2ad3f2c47e38196e47edd2c0135ecc64
2021-07-06 15:04:36 +00:00
Ethan Lin
386f25fbbc Modify GCA_CAMERA_SHOT power hints for better performance. am: c2264dc421
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15207634

Change-Id: I63433d8879303b710b3167c12cd286773e9bdaef
2021-07-06 14:52:51 +00:00
Ethan Lin
8ef3f6cc02 Modify GCA_CAMERA_SHOT power hints for better performance.
CAMERA_STREAMING has the setting "TAPreferHighCap=1". GCA_CAMERA_SHOT should set "TAPreferHighCap=1" as well in case user leaves the viewfinder.
We could get better performance with "HighCapacityStartCpu=6".

Bug: 192534118
Test: manual R4
Change-Id: I85c77ac1ccc2176312b54a6acdd37df55a658f04
2021-07-06 14:32:39 +00:00
byunggwan kang
4b854be3a6 update performance-point at media_codecs_aosp_c2.xml am: 8b67e6da73 am: ebafeb2487
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15167661

Change-Id: I02f82bea3404012dde42ceb8765eebf2d3c670ec
2021-07-06 09:54:16 +00:00
byunggwan kang
497744b4bd update performance-point at media_codecs_aosp_c2.xml am: 8b67e6da73
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15167661

Change-Id: If51ac8ce341d9c0d6c4cbbfa2db54d678465df84
2021-07-06 09:38:09 +00:00
byunggwan kang
676f94117f update performance-point at media_codecs_aosp_c2.xml
Bug: 187191316
Test: android.mediapc.cts.MultiTranscoderPairPerfTest

Signed-off-by: byunggwan kang <bk0917.kang@samsung.com>
Change-Id: I69d1244770c118d5e37234b9d1ab85a288d09505
2021-07-06 09:23:00 +00:00
Automerger Merge Worker
185ce95703 Merge "boost INT clock when CAMERA_BACKEND_BOOST am: 52594b749d am: c72bc5bb90" into sc-v2-dev-plus-aosp 2021-07-06 01:44:40 +00:00
Yu(Swim) Chih Ren
a4f92b77a4 boost INT clock when CAMERA_BACKEND_BOOST am: 52594b749d am: c72bc5bb90
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15152131

Change-Id: Ic7cc25447c65cb980e85a058993114840e62f7c7
2021-07-06 01:44:35 +00:00
Yu(Swim) Chih Ren
122315bc38 boost INT clock when CAMERA_BACKEND_BOOST am: 52594b749d am: a6f63f41b6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15152131

Change-Id: Ifc59ec1b83aeb9fb099b37e991acdc0cc37bd54e
2021-07-06 01:44:34 +00:00
Yu(Swim) Chih Ren
9b0fc87063 boost INT clock when CAMERA_BACKEND_BOOST am: 52594b749d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15152131

Change-Id: I03a6ceed53db735f2d1b9921021d18d2355c7baf
2021-07-06 01:27:27 +00:00
Yu(Swim) Chih Ren
9ab67ae5cd boost INT clock when CAMERA_BACKEND_BOOST
Add MIF, INT boost powerhint configuration for CAMERA_BACKEND_BOOST to
improve stability

Bug: 168654554

Test: 1. Check clock freq related file when camera start
      2. Check face id function work correctly
      3. P21 Camera Test Checklist done

Change-Id: Ia39acd531063bcf93c2db9971d783f6da8006502
2021-07-06 01:12:20 +00:00
Konstantin Vyshetsky
b26f9d72af ufs: set clkgate_enable when in offmode charging am: dbdc3ac5bf am: f2248ddbb6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15191999

Change-Id: Ia7552aecd165b74ac97b1b44bfe1050b78e1635e
2021-07-04 04:33:29 +00:00
Konstantin Vyshetsky
8bb7a3b780 ufs: set clkgate_enable when in offmode charging am: dbdc3ac5bf am: 88d2a72990
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15191999

Change-Id: I6651f2946fdb7bafdacc602649272f9b7b2e48a3
2021-07-04 04:25:31 +00:00
Konstantin Vyshetsky
697c7eb2c5 ufs: set clkgate_enable when in offmode charging am: dbdc3ac5bf
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15191999

Change-Id: Ia28b1f0097c390a81ce6699cfa6f3ccaaa5efbe9
2021-07-04 04:14:56 +00:00
Konstantin Vyshetsky
cf18666812 ufs: set clkgate_enable when in offmode charging
Bug: 190729148
Bug: 190727603
Test: manual R4
Signed-off-by: Konstantin Vyshetsky <vkon@google.com>
Change-Id: I2f544cc01af18a0a6e85a2abd37d8621f24e286d
2021-07-04 03:56:30 +00:00
Midas Chien
fd2471da9a init: allow hwcomposer to write early wake up node am: 9b58274d36 am: 69fe618d43
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15096170

Change-Id: Ic243ecb4c389b00e2d62f8c02bdd09384af5ca59
2021-07-02 19:02:27 +00:00
Midas Chien
14afbfedf9 init: allow hwcomposer to write early wake up node am: 9b58274d36
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15096170

Change-Id: I7e91c8139b3a3e4359158aceda779133f30091d6
2021-07-02 18:52:34 +00:00
Midas Chien
69e6504dec init: allow hwcomposer to write early wake up node
Bug: 189173278
Bug: 191386940
Test: hwcomposer able to write node
Change-Id: Iede3d6121d5157732cfa1f18491bc7a3292ff2f3
2021-07-02 18:36:38 +00:00
Midas Chien
c952a68215 dumpstate: dump DPU IDMA error count am: 2caeb13740 am: ac9ac9a703
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15171193

Change-Id: If20c322c3898cf02642bec652128e8ab4a41f787
2021-07-02 16:46:19 +00:00
Midas Chien
d757d92787 dumpstate: dump DPU IDMA error count am: 2caeb13740
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15171193

Change-Id: I688ec5d7b75f501f95d96cd0b7990e7a2838154f
2021-07-02 16:34:11 +00:00
Midas Chien
8e099ae8da dumpstate: dump DPU IDMA error count
Bug: 190864548
Test: verified contents in bugreport
Change-Id: Icf5e1946cf882f0245c7b5cb54488b8dc1d48efd
2021-07-02 16:21:39 +00:00
linpeter
5ba8733416 gs101: declare IDisplay to V2 am: fc96694696 am: 60fc32a6d9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14972995

Change-Id: I8404000d7ac6e02d6dcce9bbe4039af771248c66
2021-07-02 04:57:36 +00:00
linpeter
92cce7fe97 gs101: declare IDisplay to V2 am: fc96694696
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14972995

Change-Id: I95c58e943f865c255362a645473c3ab6e162fe33
2021-07-02 04:37:23 +00:00
linpeter
b68ce6e795 gs101: declare IDisplay to V2
Bug: 190793567
test: check manifest
Change-Id: If1ca683897809eec20bc1f5a23c6a017e3783714
2021-07-02 04:21:28 +00:00
seungmin.ahn
843e49c6db RELAND firmware: update MFC F/W(21/06/14) am: 3f52cd4ca8 am: 09fda120c0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15151606

Change-Id: I862eb62f6a30b3cd11562a3cf16576f735c79cc2
2021-07-01 07:09:22 +00:00
seungmin.ahn
d4e2066e79 RELAND firmware: update MFC F/W(21/06/14) am: 3f52cd4ca8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15151606

Change-Id: I1254af3fb904b17718346ebae81d28fac258be05
2021-07-01 06:58:28 +00:00
seungmin.ahn
00ab8fdd7c RELAND firmware: update MFC F/W(21/06/14)
- Set SYNC_FRAME when it's IDR frame.

Bug: 189759631
Test: screen recording and check thumbnails
Signed-off-by: seungmin.ahn <seungmin.ahn@samsung.com>
Change-Id: If75e7db4a7fbf4c66a71d3367e0f2e08d986bd40
2021-07-01 06:44:23 +00:00
Yu-Chi Cheng
106c209218 Added edgetpu_config_chip soong config variable to edgetpu.mk. am: 98bb99ed52 am: e68686fb12
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15111301

Change-Id: I077d03a38d921b3dcafe0e848ea4a53f4d26225d
2021-07-01 01:22:03 +00:00
Yu-Chi Cheng
353136883c Added edgetpu_config_chip soong config variable to edgetpu.mk. am: 98bb99ed52
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15111301

Change-Id: I06a4dd003f8eb41fb7c8e30c627eaef892c4b8d5
2021-07-01 01:08:30 +00:00
Yu-Chi Cheng
f9ef83b5d4 Added edgetpu_config_chip soong config variable to edgetpu.mk.
This variable helps the EdgeTPU components to build different
targets per target chip accordingly.

Bug: 192096682
Test: tested on local Oriole.
Change-Id: I3de4082148392b184ed7e7e40de3fa93cbfe845d
2021-07-01 00:49:24 +00:00
Jeffrey Carlyle
09a7aebea5 add gs101-specific recovery library am: 6a471ca82d am: 7d75fe9a9b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15152133

Change-Id: Ie66841619b3eef1330a0339d5943d96d3ecff936
2021-06-30 18:12:25 +00:00
Jeffrey Carlyle
babbc47ff0 add gs101-specific recovery library am: 6a471ca82d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15152133

Change-Id: I19cf798b4e5873ce302b7978598be7f5535fa108
2021-06-30 17:57:47 +00:00
Jeffrey Carlyle
15d83480cb add gs101-specific recovery library
This library is hooked into the recovery code via
hardware/google/pixel/recovery and contains routines specific to the
GS101-based hardware.

Bug: 182508814
Test: did master reset on device with keys, verified no keys present after reset
Signed-off-by: Jeffrey Carlyle <jcarlyle@google.com>
Signed-off-by: Harpreet Eli Sangha <eliptus@google.com>
Change-Id: I18357f5ac8db7a765a5464fd3366af3d14928ce6
2021-06-30 17:39:37 +00:00
Lucas Dupin
e2bcccfdc8 Disable blurs during app launch am: b49bd0412a am: 8de81e5ea7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15146109

Change-Id: I2504fb3444b7154e8eb05c3309f2be86f1d20330
2021-06-30 17:34:21 +00:00
Lucas Dupin
6f2dc1bf7f Disable blurs during app launch am: b49bd0412a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15146109

Change-Id: I7525e747b216b74d227875b04b63b40ae815d702
2021-06-30 17:17:21 +00:00
Lucas Dupin
5f6d69182a Disable blurs during app launch
Test: m -j && flashall
Fixes: 191740153
Change-Id: I650c6433c3df238e6d72f0c55ec2f4ee3487a236
2021-06-30 16:58:45 +00:00
Adam Shih
279785b57a remove memtrack example am: 3659d514b4 am: 1b60a5e073
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15143008

Change-Id: I710c5f4027cd793e50bbd87d9cfc938b2d3fae2b
2021-06-30 06:27:30 +00:00
Adam Shih
dc2e109f12 remove memtrack example am: 3659d514b4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15143008

Change-Id: I819a0f883a6498b1b46e47ff8e4f1fb29d1ea6e0
2021-06-30 06:18:05 +00:00
Adam Shih
701ce138cd remove memtrack example
Bug: 190331117
Test: make sure ROM does not have the file
Change-Id: Iaec753ca0a1acbe1ecfb83d8cb65ede027a77d18
2021-06-30 11:29:06 +08:00
terrycrhuang
cd3903cf88 Enable Early Camping Feature am: 7093308f02 am: a6cc1d4edb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14972992

Change-Id: I10730617fb02292958442d82434e74982bb8412e
2021-06-30 00:36:24 +00:00
terrycrhuang
8e2580520d Enable Early Camping Feature am: 7093308f02
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14972992

Change-Id: I01c88c8f11fe8c4ba0d8812917ef4901d61c48ba
2021-06-30 00:22:05 +00:00
terrycrhuang
249aa26272 Enable Early Camping Feature
Bug: 189312225
Test: manual
Change-Id: I0bab215e06a96cac10ef5765cb78ebb840fb5a21
2021-06-30 00:07:39 +00:00
Erick Reyes
eba2eb0442 gs101: add compatibility path for TPU am: 324c58423b am: e483d660bf
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15100070

Change-Id: I3774c8091c7a755aeca6d1cb83ffbc9fac5b3018
2021-06-29 23:46:49 +00:00
Erick Reyes
7e5284260a gs101: add compatibility path for TPU am: 324c58423b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15100070

Change-Id: Iadbd585d6abb70e3c404474371fa1edf426d2a61
2021-06-29 23:31:16 +00:00
Erick Reyes
1c54b52a93 gs101: add compatibility path for TPU
This is to expose a common path to runtime.

Test: Manual. Verified edgetpu_logging works with modified path
Bug: 191193044

Signed-off-by: Erick Reyes <erickreyes@google.com>
Change-Id: I11865108931443d96389640c89b6cc29aee3a634
2021-06-29 23:19:45 +00:00
Vinay Kalia
a0e1f78ef6 Revert "firmware: update MFC F/W(21/06/14)" am: c2072bda93 am: ee78fdafbd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15145781

Change-Id: I29a751ffe819a907e393cca7b9f846b83eece644
2021-06-29 21:16:21 +00:00
Vinay Kalia
1146ef01ef Revert "firmware: update MFC F/W(21/06/14)" am: c2072bda93
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15145781

Change-Id: Ic96f51049df1e260b79634bbe107c3c1459129ad
2021-06-29 21:00:44 +00:00
Vinay Kalia
1f198556c5 Revert "firmware: update MFC F/W(21/06/14)"
Revert submission 14993383-IDR_SYNC_FRAME

Reason for revert: Causes crash while stopping camera recording.
bug: 192362037

Reverted Changes:
Ia9d94fc58:videocodec: ExynosVideoApi: clean up MFC flags
I6f7d808e6:enc, videocodec: change to set SYNC_FRAME when it ...
I3f83c9a8a:firmware: update MFC F/W(21/06/14)

Change-Id: I7ae15be42830af91a8bdf6f65b5336212e661953
2021-06-29 20:43:10 +00:00