Commit graph

917 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
Kevin Han
5089f98913 Revert "add gs101-specific recovery library" am: 07b1cdf9c3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15145158

Change-Id: I856fdb42022bac79d2cd512a7b9a70f04019f64e
2021-06-29 19:51:42 +00:00
Kevin Han
432f3bc640 Revert "add gs101-specific recovery library"
Revert "recovery: enable support for device-specific WipeSe impl..."

Revert "clear secure element of Digital Car Keys during factory ..."

Revert submission 14983788-clear_keys

Reason for revert: b/192373955
Reverted Changes:
Ia8fc29e6c:add gs101-specific recovery library
Icc1eabfd4:clear secure element of Digital Car Keys during fa...
I943d97b26:recovery: enable support for device-specific WipeS...
I15c7fbd7f:allow recovery and fastboot to access secure elmen...

Change-Id: I545698bc7da1aa12f520c0190775358dae70de61
2021-06-29 19:19:24 +00:00
Jeffrey Carlyle
72fd86ebe5 add gs101-specific recovery library am: dc012527d6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14983796

Change-Id: I45ddf105aeb56b3f3d3442e5a99eb5acd980973e
2021-06-29 18:03:41 +00:00
Jeffrey Carlyle
7af529801c 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>
Change-Id: Ia8fc29e6c043c58c09f189ac5dc91c4093cf64b6
2021-06-29 17:50:34 +00:00
seungmin.ahn
6bf1ce8761 firmware: update MFC F/W(21/06/14) am: 01849078a6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14986354

Change-Id: Ifa958a32176aa434133f74d7fa25fdba8ccae742
2021-06-29 08:45:26 +00:00
seungmin.ahn
36d54272ae firmware: update MFC F/W(21/06/14)
- Modified HEVC decoder error handling which copy the nearest reference frame
    to current frame when error is detected.
- Implemented so that SBWC can be off/on during decoding when SBWC is enabled.
- Fix the max I frame size calculation bug when RC mode is CBR_VT. (RC_MODE = 3)
- Modified so that H.264/HEVC decoder can consumed AUD NAL type stream
    when AUD is added at the end of frame.

Bug: 189759631
Signed-off-by: seungmin.ahn <seungmin.ahn@samsung.com>
Change-Id: I3f83c9a8adae6bbcb1fb74b86c777811993b8c27
2021-06-29 08:19:35 +00:00
Nicole Lee
e6782ea152 Only stop modem logging when it is always-on logging am: bbba5a5577
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15124979

Change-Id: I6d2905d231c42dd4e7947aedae7df9e1bd80785e
2021-06-29 05:14:52 +00:00
Nicole Lee
258dbfa767 Only stop modem logging when it is always-on logging
Bug: 192128095
Change-Id: Ic51e0c9837f1d702e6d4b58e9cb9b4a94dc9e12c
2021-06-29 05:11:30 +00:00
Edwin Tung
8ffc9b08f1 gps: update gps driver 129.20.23.506213 am: bbd0f3682f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15101222

Change-Id: Ibd53c538232ec0404b6d447a93a2b8bc33db13e7
2021-06-29 03:22:03 +00:00
Edwin Tung
4e3b80d9fc gps: update gps driver 129.20.23.506213
Fix time_ns is zero issue with Host Periodic request.
Implement GNSS PAL close()
Increase syncin req's timeout if autoTimeSyncGroupDelay calibrating is ongoing
Reduce spinning time on Ifc:active command
Fix a race condition when stopping sensors scanning thread
Update L1/L5 bias

Bug: 191807159
Bug: 191298215
Bug: 191109136
Bug: 189412038
Bug: 189063063
BUg: 191413681

Sanity test: 192061672
Test: build pass

Change-Id: Ie14a141f4fae91a5cb90460f30ad59bc28bd8cfa
2021-06-29 03:03:40 +00:00
Yu(Swim) Chih Ren
177eeccbe3 Add CAMERA_BACKEND_BOOST powerhint configuration to increase backend ISP am: 3a03a155bc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15080040

Change-Id: Ib02c6ecf462ac487820507562d8a7365b0aaca9e
2021-06-29 02:55:28 +00:00
Yu(Swim) Chih Ren
ab64b15ec9 Add CAMERA_BACKEND_BOOST powerhint configuration to increase backend ISP
clock when camera lauch and secure camera is not used

Add mem, mid CPU cluster power hint configuration when CAMERA_LAUCH

Bug: 168654554

Test: 1. Check clock freq related file when camera start
      2. Check perfetto to make sure CPU clock setting does not reset by
      BACKEN boost power hint
      3. P21 camera checklist

Change-Id: Iadc7058c605533f8bd394dff1d9711bb7aca6897
2021-06-29 02:52:13 +00:00
Denny cy Lee
e0aa506c98 PixelStat: Suez: Porting wireless charging am: 4c3d1f2369
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14881199

Change-Id: I302e83aaf54d556deda4ce5c8eb4e651c65b2cbb
2021-06-29 01:31:17 +00:00
Denny cy Lee
f2227732cb PixelStat: Suez: Porting wireless charging
Wireless ptmc uevent is not supported,
replace it with reading file node

Bug: 171853251
Test: manually, do wirelees charge, check logcat

Signed-off-by: Denny cy Lee <dennycylee@google.com>
Change-Id: I8d4bbff09826fb76b0bce4321e9b5081a1487435
2021-06-29 01:16:34 +00:00
Kyle Tso
9d0582ba77 usb: Enable midi function in charger mode am: ecbc59d53e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15118506

Change-Id: I781b6364606073c7323894900ea2b80d14d67ecd
2021-06-28 08:55:34 +00:00
Kyle Tso
22484eb00d usb: Enable midi function in charger mode
It needs a USB function in charger mode to set the charging current to
500mA/900mA.

Bug: 188744218
Test: charging at 900mA in charger mode
Signed-off-by: Kyle Tso <kyletso@google.com>
Change-Id: I95c98ecec30dd4394228f7290412c303771a3158
2021-06-28 03:46:22 +00:00
Wei Wang
d6aac4f8bb Add vendor proc dump am: c17864f72e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15116870

Change-Id: Ibafd4310eadefd3bd92c148bdabecdaf4deb3c62
2021-06-26 21:48:49 +00:00
Wei Wang
4ff1973c29 Add vendor proc dump
Bug: 172112042
Test: build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I88bd7f1961e4e9bbe853e3122a7525ec93ae7fd0
2021-06-25 22:04:53 -07:00
Carter Hsu
ba578e4e43 audio: add AOSP build flag am: 33ad313be8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14513735

Change-Id: Ibb98f335343bed4c7646eca22b262726bcd4221b
2021-06-25 10:22:45 +00:00
Carter Hsu
977c44c195 audio: add AOSP build flag
Bug: 184016430
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I4a32e82fdcdd51f813c9dc6b013b26aabf66c078
2021-06-25 10:08:04 +00:00
millerliang
a666e8bea4 audio: add the files for low latency am: b920a4e569
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15101218

Change-Id: Ie5cc30dd9947448beb2c58d2f953a094055c077b
2021-06-25 07:47:07 +00:00
millerliang
1fce97cea2 audio: add the files for low latency
They are use by the GOogle Play Store to filter devices
that might need low latency feature.

Bug: 189793763
Test: Build and check the files
Change-Id: Ibf71147b971bfc4fe4e769772851e604203395b8
2021-06-25 02:46:02 +00:00
Lisa Liu
d5ef555e2e Remove wait_for_keymaster and all references am: 68622cfc89
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15056855

Change-Id: I1e82e441675837561d80ac4693c439831ddfd13b
2021-06-25 02:13:02 +00:00
Lisa Liu
2261184ed9 Remove wait_for_keymaster and all references
No longer needed now init listens for property changes on a
separate thread.

Bug: 186580823
Bug: 191646246
Test: Boot test
Change-Id: I7e5e12c4422aa516cd9d8c63b1e5be37b6aa80bf
2021-06-25 01:50:01 +00:00
Adam Shih
5db948422c modularize dmd am: dbfee7ea5b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15068260

Change-Id: Ibb564e0550d25722e0caf7308a92cd593f78f18f
2021-06-25 01:27:41 +00:00
Adam Shih
4b2b930396 modularize dmd
Bug: 190331463
Test: build ROM and make sure dmd is launched
Change-Id: Ie7ee06cbefeced5a69292e22012f533296081319
2021-06-25 01:12:49 +00:00