Commit Graph

4962 Commits

Author SHA1 Message Date
Vinay Kalia
32333e15c9 gs201: bigocean: Enable width-height swap
bug: 328331219
Test: android.mediav2.cts.CodecInfoTest#testResolutionSupport
      [29_video/av01_c2.google.av1.decoder]

Signed-off-by: Vinay Kalia <vinaykalia@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:dbec97c34f276661a30dad532fd08114bb219b54)
Merged-In: Ib57dbaf32c2198e755e123cd894514bce5fb212e
Change-Id: Ib57dbaf32c2198e755e123cd894514bce5fb212e
2024-03-14 23:56:58 +00:00
Shashwat Razdan
465d16d0d3 Adding android.software.contextualsearch to gs-201 devices.
Bug: 326143814
Test: Built and tested on device
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e9e4f853a6847a55f2bedc8fc37c17f44c1fa743)
Merged-In: Iad8cd8a859299a5a60e0bdc569f7da4756bb95eb
Change-Id: Iad8cd8a859299a5a60e0bdc569f7da4756bb95eb
CP feature CLs to 24d1-dev
2024-03-13 23:58:28 +00:00
Hongyang Jiao
5efe68a502 Add betterbug.mk to gs201
Test: manual test
Bug: 322543833
Change-Id: Ie1b8157c8687bc4ec9bb00feb47cbcc130d59ee0
2024-03-13 04:29:58 +00:00
Chungro Lee
5dc71cfae1 pixelstats: move learning/model load path to sysfs
Reporting learning(relaxation) and model loading once a day
 * learning and model loading path moved from uevent to
   sysfs collector.

Bug: 329124192
Change-Id: I91039ce3a8ee4630a76113ef7ae6be3bc6908f64
Signed-off-by: Chungro Lee <chungro@google.com>
2024-03-13 01:29:30 +00:00
Vinay Kalia
dbec97c34f gs201: bigocean: Enable width-height swap
bug: 328331219
Test: android.mediav2.cts.CodecInfoTest#testResolutionSupport
      [29_video/av01_c2.google.av1.decoder]

Change-Id: Ib57dbaf32c2198e755e123cd894514bce5fb212e
Signed-off-by: Vinay Kalia <vinaykalia@google.com>
2024-03-12 03:17:54 +00:00
Poompatai Puntitpong
d0d4a07d3a bt: set rfkill device nodes permission setting on early_boot stage
move the rfkill permission setting from post-fs-data to early_boot
stage because the kernel/net/rfkill/rfkill.ko may not be loaded on
post-fs-data stage and cause the permission setting failed.

Test: m
Bug: 323377234
Change-Id: Ibf3862a5e0f4554e8df5c2ed1c76d460bbd5e543
2024-03-11 09:04:43 +00:00
Android Build Coastguard Worker
5ccb945e84 Merge cherrypicks of ['googleplex-android-review.googlesource.com/26450011'] into 24Q2-release.
Change-Id: Ic7216c5d7fc996484ffd691e43c34d15a827b120
2024-03-08 23:58:30 +00:00
Daniel Chapin
49634ee895 Revert "Add betterbug mk to gs201"
Revert submission 26348985-bb-sepolicy-poc

Reason for revert: Droidfood blocking bug: b/327991669

Bug: b/327991669

Reverted changes: /q/submissionid:26348985-bb-sepolicy-poc
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3f5c12abada31befa0d9f869bf6628d06ee05aa4)
Merged-In: Id77188dd9f6f5acaed1506a9489f5d6f9874dde9
Change-Id: Id77188dd9f6f5acaed1506a9489f5d6f9874dde9
2024-03-08 23:54:43 +00:00
George Lee
2db6be5503 bcl: Adjust GPU LIGHT clk divider ratio am: 59c673f376
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/26514115

Change-Id: I09753bd0e7a523cf632b2bcb1d85bc8ea574e086
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-08 18:03:19 +00:00
George Lee
59c673f376 bcl: Adjust GPU LIGHT clk divider ratio
Set GPU LIGHT clk divider ratios to /2.

Bug: 327700285
Test: Confirm no prints like:
"28000000.mali: Ctx 8349_23 Group 0 CSG 3 CSI: 3"
while running GFXBench under LIGHT MITIGATION
Change-Id: I4b62b33c0b72e5a053f477943379727d58f7298e
Signed-off-by: George Lee <geolee@google.com>
(cherry picked from commit 43d42739b5)
2024-03-08 15:18:11 +00:00
Android Build Coastguard Worker
5d4833c87f Merge cherrypicks of ['googleplex-android-review.googlesource.com/26448982', 'googleplex-android-review.googlesource.com/26467635'] into 24Q2-release.
Change-Id: I80e762e22f82285e61a25ec888ea6a0230769dad
2024-03-07 20:57:30 +00:00
Shashwat Razdan
3954e3a89a Adding android.software.contextualsearch to gs-201 devices.
Bug: 326143814
Test: Built and tested on device
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e9e4f853a6847a55f2bedc8fc37c17f44c1fa743)
Merged-In: Iad8cd8a859299a5a60e0bdc569f7da4756bb95eb
Change-Id: Iad8cd8a859299a5a60e0bdc569f7da4756bb95eb
2024-03-07 20:51:49 +00:00
George Lee
a528a2c7f9 bcl: Adjust GPU LIGHT clk divider ratio
Set GPU LIGHT clk divider ratios to /2.

Bug: 327700285
Test: Confirm no prints like:
"28000000.mali: Ctx 8349_23 Group 0 CSG 3 CSI: 3"
while running GFXBench under LIGHT MITIGATION
Signed-off-by: George Lee <geolee@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:43d42739b57713f7e41df147e6372d1ccce6243f)
Merged-In: I4b62b33c0b72e5a053f477943379727d58f7298e
Change-Id: I4b62b33c0b72e5a053f477943379727d58f7298e
2024-03-07 20:51:33 +00:00
Xin Li
4626bffc89 [automerger skipped] Merge Android 14 QPR2 to AOSP main am: 755f7b7f51 -s ours am: df968605a9 -s ours
am skip reason: Merged-In I6d87c71b72050405370a19801b9e49ef46c5d3e0 with SHA-1 25172cefce is already in history

Original change: https://android-review.googlesource.com/c/device/google/gs201/+/2989997

Change-Id: Ie15c4c3c9d2fc1bf83b29a3348f6367adff531be
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-07 10:46:45 +00:00
Xin Li
df968605a9 [automerger skipped] Merge Android 14 QPR2 to AOSP main am: 755f7b7f51 -s ours
am skip reason: Merged-In I6d87c71b72050405370a19801b9e49ef46c5d3e0 with SHA-1 25172cefce is already in history

Original change: https://android-review.googlesource.com/c/device/google/gs201/+/2989997

Change-Id: I66d6d793a69616b202f4c08022a1eba411623fbc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-07 09:55:20 +00:00
Xin Li
755f7b7f51 Merge Android 14 QPR2 to AOSP main
Bug: 319669529
Merged-In: I6d87c71b72050405370a19801b9e49ef46c5d3e0
Change-Id: Ib1cfef81086152f78f1cc9514ba9ef581d1d9d6b
2024-03-06 09:29:48 -08:00
Shashwat Razdan
e9e4f853a6 Adding android.software.contextualsearch to gs-201 devices.
Bug: 326143814
Test: Built and tested on device
Change-Id: Iad8cd8a859299a5a60e0bdc569f7da4756bb95eb
2024-03-06 16:32:59 +00:00
Daniel Chapin
3f5c12abad Revert "Add betterbug mk to gs201"
Revert submission 26348985-bb-sepolicy-poc

Reason for revert: Droidfood blocking bug: b/327991669

Bug: b/327991669

Reverted changes: /q/submissionid:26348985-bb-sepolicy-poc

Change-Id: Id77188dd9f6f5acaed1506a9489f5d6f9874dde9
2024-03-05 20:38:07 +00:00
George Lee
43d42739b5 bcl: Adjust GPU LIGHT clk divider ratio
Set GPU LIGHT clk divider ratios to /2.

Bug: 327700285
Test: Confirm no prints like:
"28000000.mali: Ctx 8349_23 Group 0 CSG 3 CSI: 3"
while running GFXBench under LIGHT MITIGATION
Change-Id: I4b62b33c0b72e5a053f477943379727d58f7298e
Signed-off-by: George Lee <geolee@google.com>
2024-03-05 15:41:46 +00:00
Sungtak Lee
16d25d07b2 Add media.c2 aidl fragments on gs201 based devices
Bug: 321808716
Change-Id: If0f73c6151127ac5cc786a5580446313f9640025
2024-03-05 06:16:54 +00:00
Mark Chang
739450ad3a Add sepolicy include to gs201.
Bug: 325422902
Test: Manual, system booted without sepolicy denied error.

Change-Id: Id0cd182117340159aed00ad55988323bd45ba840
Signed-off-by: Mark Chang <changmark@google.com>
2024-03-05 05:31:39 +00:00
Devika Krishnadas
e0fbd0d764 Move Gralloc packages to gs-common
Bug: 275906497
Test: Boot succeeds

Change-Id: I879a5ef8365abe018c501cdb0b06c9753e0e5902
Signed-off-by: Devika Krishnadas <kdevika@google.com>
2024-03-04 22:13:50 +00:00
Android Build Coastguard Worker
98657ce2a1 Snap for 11520864 from 85b26e93cc to 24Q2-release
Change-Id: I6f49166d35755c240b6bde3e403657775e64fa90
2024-03-02 02:02:18 +00:00
Jenny Ho
85b26e93cc pixelstats: added multiple GMSR paths
support different project paths

Bug: 308364170
Change-Id: I065f8e844d13d1d6d36c36ef689ff6c34b3e3fa6
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2024-03-01 03:14:37 +00:00
Hongyang Jiao
6e91bd9f0b Add betterbug mk to gs201
Bug: 322543833
Test: local test, recorded in http://shortn/_iEz9DTCHgo
Change-Id: I88809df5449909ac528d38e07fa95b8f49bbfd00
2024-03-01 01:10:43 +00:00
Android Build Coastguard Worker
4e50830126 Snap for 11504324 from 5e9bc66da0 to 24Q2-release
Change-Id: I988b1556648e5da498f4b254f358c61e7a9b031c
2024-02-28 00:02:32 +00:00
Jenny Ho
5e9bc66da0 pixelstats: gs201: add Learning/Update/ModelLoad path
Upload more FG data to analyze its trends

Bug: 317827237
Change-Id: Id45bd9ad3cca67dfc614f9c0f00540b1119a17d0
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2024-02-27 04:06:14 +00:00
Android Build Coastguard Worker
61e747073c Snap for 11479893 from 3edeae32e0 to 24Q2-release
Change-Id: Idcd37201de5efe82800248a0db567b00305b79fb
2024-02-22 00:02:41 +00:00
Daniel Okazaki
3edeae32e0 dumpstate: moving charger nodes to user build
Bug: 323415060
Test: adb bugreport
Change-Id: I96c06149ad0b960b2fa9116fca126311116fa9d0
Signed-off-by: Daniel Okazaki <dtokazaki@google.com>
2024-02-21 00:11:01 +00:00
Lei Ju
b13512dd9b [gs201] Enable multiclient HAL
Test: 1) complile and flash a gs201 device, passed PTS and CHQTS;
      2) checked logs to make sure no sepolicy violations
Bug: 247124878
Change-Id: I0b0af38e89c13d645406bb1d30786bb25a74d963
2024-02-20 21:11:32 +00:00
Android Build Coastguard Worker
d900badb37 Merge "Snap for 11456215 from 49a63dad63 to 24Q2-release" into 24Q2-release 2024-02-16 01:36:01 +00:00
Android Build Coastguard Worker
5c3c292900 Snap for 11456215 from 49a63dad63 to 24Q2-release
Change-Id: Ia243e5290b4f7a7219131ffef7d60b306fac27ef
2024-02-16 00:33:08 +00:00
Android Build Coastguard Worker
c465cad76f Snap for 11456215 from 49a63dad63 to 24Q2-release
Change-Id: Ic356004e50db799bbf72c439554792969eb40961
2024-02-16 00:21:09 +00:00
George Lee
49a63dad63 bcl: Adjust GPU clk divider ratio
Revert GPU clk divider ratios.

Bug: 324534203
Test: Confirm no DATA_INVALID_FAULT while running GFXBench under stress
Change-Id: I84682b476af162eff904ed5bec66ae2e6fa6449a
Signed-off-by: George Lee <geolee@google.com>
2024-02-15 16:55:10 +00:00
Android Build Coastguard Worker
4a3132ed83 Snap for 11438811 from ba206cfef1 to 24Q2-release
Change-Id: I3730dad90ec0a60c4a6a1e3b085b6ff7e8c21321
2024-02-13 00:02:59 +00:00
Mark Chang
ba206cfef1 Move manifest entries to gs-common.
Bug: 322914403
Bug: 324214410
Test: build succeeds on all devices, failing tests pass.
Change-Id: I0711a1d8cfd02ccd168f57ac16feee2a8e0ee777
Signed-off-by: Mark Chang <changmark@google.com>
2024-02-11 23:03:52 +00:00
Android Build Coastguard Worker
517a6d890f Snap for 11432641 from 0e6bc4fd5c to 24Q2-release
Change-Id: I91af1ce100f35134b72a700483aac06b7625abe1
2024-02-10 02:02:28 +00:00
Richard Hsu
0e6bc4fd5c [Refactor] Include edgetpu targets in final image
Make the EdgeTPU targets defined in <soc>/proprietary visible by product packages included in edgetpu.mk.

Bug: 323601370

Tested:
No functionality change. Edgetpu services still work.

Change-Id: Ib3835ee3976dcfa86df999d0a32398bf8ec9a2cb
2024-02-09 21:55:09 +00:00
Android Build Coastguard Worker
f275ab0a63 Snap for 11426397 from bef1509d6c to 24Q2-release
Change-Id: I73b5bf4c32e0279a8c51895a5816028980125c21
2024-02-09 00:02:33 +00:00
Android Build Coastguard Worker
b0b2a4f90d Snap for 11420186 from 8548e9b2be to 24Q2-release
Change-Id: Ic5a40d6d20d8f66467e4da0d3e6bb4b41e9ef4d6
2024-02-08 00:02:43 +00:00
Yong Zhang
bef1509d6c Add Youtube back in MRR Small Area Detection Allowlist
Bug: 324132231
Test: Make Pixel builds to verify Allowlist
Change-Id: I5b8f96acfd701887307d0f19566a1489b1ad594d
2024-02-07 16:51:36 +00:00
Jacky Liu
8548e9b2be Update i2c device paths
Update i2c device paths with static bus numbers.
Also remove some redundant paths.

Bug: 323447554
Test: Boot to home
Change-Id: Id3f0fccd39b70d247c0d7a17a1944223619ec40e
2024-02-07 04:00:46 +00:00
Jacky Liu
21dc8acdaa Revert "usb: Select usb-service rc files based on kernel versions"
This reverts commit 2371ea7920.

Use the same i2c device paths across all kernel versions.

Bug: 323447554
Change-Id: I0f970347a09e01f272a54fc7c940ea576a9e510b
Signed-off-by: Jacky Liu <qsliu@google.com>
2024-02-06 16:18:27 +00:00
Android Build Coastguard Worker
74af346541 Snap for 11406759 from 0873870552 to 24Q2-release
Change-Id: I58449c130c77b5ca538e8a970655019d92fac817
2024-02-06 00:07:14 +00:00
Joen Chen
0873870552 gs201: enable dynamic color mode
Enable dynamic color mode to reduce the power overhead of color space
conversion when GPU composition exists.

Bug: 315787778
Test: check "dumpsys SurfaceFlinger" and state of display color service
when playing SDR/HDR video

Change-Id: Ie9e87091385ab5247141bf956fbaba3275cc6811
2024-02-05 04:26:02 +00:00
Android Build Coastguard Worker
647ef6ae6c Snap for 11401641 from 2371ea7920 to 24Q2-release
Change-Id: Ic7e5efbc521b1d9222747d606e91928a4fd866bf
2024-02-03 22:01:59 +00:00
Android Build Coastguard Worker
031ba2c961 Snap for 11399958 from 7d2aafad34 to 24Q2-release
Change-Id: I8f45a8dff4dd01da489d2cde1470a107cee3d350
2024-02-03 02:02:27 +00:00
Kyle Tso
2371ea7920 usb: Select usb-service rc files based on kernel versions
The sysfs paths in the rc file differ across kernel versions or build
targets. Given that the path is static in the newer kernels (6.1+),
modify the paths for newer kernels in the original rc file and create
another rc file for older kernels (i.e kernel 5.10). Put the correct rc
file to the vendor partition based on kernel versions.

Bug: 317946158
Change-Id: Ie313664ee14c837bc9f33113e9341f6e06192401
Signed-off-by: Kyle Tso <kyletso@google.com>
2024-02-03 01:14:43 +00:00
Kyle Tso
9bafd5f134 usb: Runtime search the i2c path
The paths of sysfs nodes are different on multiple build targets and are
also different between the old kernel (5.10) and newer kernel (6.1).
Since usb HAL code is shared by those targets and different kernel
versions, Runtime search the correct paths.

Bug: 317946158
Change-Id: I676455145232fd71db1578bb7a9801fed7bb327f
Signed-off-by: Kyle Tso <kyletso@google.com>
2024-02-03 01:14:43 +00:00
Leon Scroggins III
7d2aafad34 gs201: Remove sysprop forcing renderengine to skiaglthreaded
This is already the default, so no need to set via sysprop. Moving
forward, we will set this using flags, unless a particular category
of device needs to override the flag.

Bug: 293371537
Test: NA
Change-Id: Id05d31e3c058d3bfe961d90e37a0c6992d823605
2024-02-02 14:29:25 +00:00