Commit graph

4925 commits

Author SHA1 Message Date
wenchangliu
fd583d1d11 update odd resolution support in vpx and av1 codecs
[VSR-4.2.004.001] MUST support the smallest width/height alignment allowed
by the video standard. For AVC/HEVC/VCC, this requires 2x2 pixel alignment
for YUV 4:2:0 profiles, and 2x1 pixel alignment for YUV 4:2:2 profiles.
For VP8/VP9/AV1, this requires 1x1 pixel alignment for any profiles.
Note: This is usually stored as the crop rectangle in the bitstream.

Bug: 329378524
Test: CtsMediaV2TestCases
Change-Id: I0e84a342bf1093c74c712d2c811b37eca9c7908c
2024-04-10 11:20:32 +00:00
Dinesh Yadav
cf16a40663 TPU Janeiro Tachyon Migration
This change includes tachyon targets for edgetpu in the final image

TESTED:
Create a private build with this change and verified that the tachyon targets were present after flashing on a local device.

Bug: 307591410
Change-Id: Id584ee4ad626e28b7093e6df9a14c3e19dbe51ea
2024-04-08 16:11:19 +00:00
Ziyi Yang
f1558f0cc8 Adding post notification to gca default permissions
Bug: 331677590
Test: Build and flash. Permission was pregranted to gca.
Change-Id: Id38a1cfebaed37fe82f01c4116967a867e026309
2024-03-30 00:08:36 +00:00
Chris Lu
f2b7e75b56 gs201: upgrade IDisplay to V11 am: ecef8c5764
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/26488327

Change-Id: I9a4b1cab09700d14f4d2e170782415263a4d2828
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-28 21:37:16 +00:00
Herbert Xue
6008aad40e Update SOONG_NAMESPACES to include power-anomaly-sitril folder
Bug: 326175117
Test: 1. lunch lynx-trunk_staging-userdebug
      2. m PowerAnomalySitril
Change-Id: I97eb94f85ae2ab164fe0fc6b9d3429ebca5b0db5
2024-03-28 04:59:25 +00:00
David Drysdale
9922a0fc12 Revert "Enable Secretkeeper HAL service on gs201"
This reverts commit a929e8bc02.

Reason for revert: disable until gs201/main prebuilts get updated

The gs201/main prebuilts are a couple of weeks old, which means that some heap size fixes for the Secretkeeper TA are not present for these devices.

This in turn blocks:
- aosp/2997056: re-enable SK in pVMs
- aosp/3000947: add large DICE chain VTS tests

So revert for now, so we can submit those two CLs and have Secretkeeper test coverage happening on shusky.  

Then when gs201/main prebuilts are updated to something more recent (i.e. that includes aosp/3005090), we can re-enable the HAL service.

Bug: 291228655
Bug: 306364873
Change-Id: I543310092ad6430a2dee30ae0b950fadbe869e15
2024-03-25 16:39:53 +00:00
David Drysdale
a929e8bc02 Enable Secretkeeper HAL service on gs201
The prebuilts on `main` have been updated to include:
- the Secretkeeper TA in Trusty (in ab/11346410)
- the ABL changes to retrieve the Secretkeeper identity pub key.

for the relevant devices:
- pantah (http://ag/26396674 to Trusty ab/11498491)
- felix (http://ag/26385511 to Trusty ab/11498491)
- lynx (http://ag/26395689 to Trusty ab/11498491)
- tangorpro (http://ag/26396492 to Trusty ab/11498491)

So enable the corresponding HAL service for Secretkeeper when the
relevant build flag is enabled.

Bug: 291228655
Bug: 306364873
Test: VtsSecretkeeperTargetTest on cheetah
Change-Id: I42804579ab4ff5a8ac0edd48fead8631f580dc37
2024-03-22 14:22:46 +00:00
Spade Lee
9a1ff5f804 pixelstats: gs201: add history validation path
Bug: 329174074
Change-Id: I8830d4a7532d8900abdcf78ba7ab1c141b47c1b4
Signed-off-by: Spade Lee <spadelee@google.com>
2024-03-22 07:30:26 +00:00
Chris Lu
ecef8c5764 gs201: upgrade IDisplay to V11
Bug: 307787644
Test: build pass
Change-Id: Ia845a41693fb33748425b8ac753c665b8f85d954
2024-03-21 07:30:30 +00:00
Vinay Kalia
66f9bd483b gs201: bigocean: Enable width-height swap am: 1d318e584a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/26588493

Change-Id: I6292e2b41217739593a270e807c7a924ab161297
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-20 09:35:55 +00:00
Vinay Kalia
1d318e584a 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>
(cherry picked from commit dbec97c34f)
2024-03-20 09:14:34 +00:00
Shashwat Razdan
b579c61002 [automerger skipped] Adding android.software.contextualsearch to gs-201 devices. am: 465d16d0d3 -s ours
am skip reason: Merged-In Iad8cd8a859299a5a60e0bdc569f7da4756bb95eb with SHA-1 e9e4f853a6 is already in history

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

Change-Id: I54b87136cb358118a98b0b81e2ce3744f08a2a84
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-19 08:29:05 +00:00
Android Build Coastguard Worker
0c126b3a73 Merge cherrypicks of ['googleplex-android-review.googlesource.com/26516176'] into 24Q2-release.
Change-Id: I9fb92f031527f8217e9fe847c90af8e2f180dbd0
2024-03-15 00:03:48 +00:00
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