Commit graph

376 commits

Author SHA1 Message Date
guibing
e36c559b44 zumapro: Disable kmem cgroup accounting
Disable cgroup kernel memory accounting to avoid unnecessary overhead

This is from similar change in zuma: ag/22891292

Bug: 300516320
Test: Boot
Change-Id: I1378fe11db294449978ea8e0157e8d8964a9a112
2023-10-25 18:04:01 +00:00
guibing
66e9b5470b zumapro: Set PELT HALFLIFE to 8ms before early init boot stage
It's for early boot stage boost. After early init stage, change
it back to the default 32ms.

This is from the similar change we had in zuma: ag/23681609

Bug: 300516320
Test: check the device boot.
Change-Id: I2286a94c31480766540e20cab619cc87363bdd1f
2023-10-25 18:00:50 +00:00
Guibing Cai
513b22bd07 Merge "zumapro: init: Enable powerhal" into main 2023-10-17 17:56:02 +00:00
Jasmine Cha
77ea688a62 audio: fix typo
Bug: 305838207
Test: build pass/ recording runtime tuning

Change-Id: Ia6a1c4b1fb4fabfd3d36b1120f2801a1222c8404
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-10-17 15:13:34 +08:00
Hiroshi Akiyama
1809b11768 Merge "Migrate dump_power.sh contents into cpp for improved speed" into main 2023-10-15 23:46:11 +00:00
Treehugger Robot
4791174347 Merge "zumapro: turn off page_pinner" into main 2023-10-14 01:22:54 +00:00
RD Babiera
52d276e80f Merge "usb: enable/disable displayport alt mode through enableUsbData" into main 2023-10-13 21:23:36 +00:00
guibing
60b048c4b2 zumapro: init: Enable powerhal
Powerhal was disabled because the kernel vendor scheduler was disabled.
It caused log spamming since lots of procfs nodes were missing.
Now vendor schedule has been enabled, so enable the powerhal here.

Bug: 300514842
Test: manual device test.
Change-Id: Ia7407c15f68c31ede29442b4dc0e2777d749dcab
2023-10-11 17:42:05 +00:00
Minchan Kim
4406908b57 zumapro: turn off page_pinner
Disable page_pinner.

Bug: 304617279
Test: no page_pinner dir in debugfs
Change-Id: Ie2afe120068af3eb6bd469f3bb4ca27d46b7fec7
Signed-off-by: Minchan Kim <minchan@google.com>
2023-10-11 10:40:44 -07:00
Jason(HeWei) Sung
51c93ad105 zumapro: Remove zumapro_bringup wakelock
Bug: 300307024
Bug: 295590204
Change-Id: I510b9f252e0d70c3568b57613e90b98b5b09ca5d
Signed-off-by: Jason(HeWei) Sung <jasonsung@google.com>
2023-10-11 04:33:21 +00:00
Bruno BELANYI
a66a615737 zumapro: Bump deqp conformance level to 2023
It looks like this device configuration was copied before ag/22597180
was applied.

Zuma Pro counterpart for the following patch:
    zuma: Bump deqp conformance level to 2023
    Git hash f1c32332c3488e9c42008367e044f241f3abc8a5

Test:  atest VtsGpuTests:com.android.gpu.vts.VulkanTest#checkCpuVulkanRequirements
    && atest VtsGpuTests:com.android.gpu.vts.OpenGlEsTest#checkOpenGlEsDeqpLevelIsHighEnough
Bug: 303925354
Change-Id: I709e1951b1f65a28e9bda08387924afc84c1d5b0
2023-10-10 21:22:03 +00:00
Bruno BELANYI
51b504701a Define mali configuration path explicitly
It looks like this device configuration was copied before ag/22512002
was applied.

Zuma Pro counterpart for the following patch:
    Define mali configuration path explicitly
    Git hash 7038bae086b572038ddb3d7b203b34b9519dd0fe

Test: None
Bug: 303925354
Change-Id: I39e3e4d0731129e3f5238700e0351840aed69f6d
2023-10-10 21:21:24 +00:00
Bruno BELANYI
3276b5f5a5 Fix mali memory protection sysprop names
It looks like this device configuration was copied before ag/22095163
was applied.

Zuma Pro counterpart for the following patch:
    Fix mali memory protection sysprop names
    Git hash c438c66fe03679b4791002d46afd83c2dca429b8

Test: CtsDeqpTestCases (dEQP-VK.protected_memory.stack.stacksize_*)
Bug: 303925354
Change-Id: I23400f4b2bd0c7e6ebe408e54b0c3ec209472b8c
2023-10-10 21:19:47 +00:00
Treehugger Robot
d7ca6ccc81 Merge "Allow to override MTE mode from device config on zumapro" into main 2023-10-06 23:26:36 +00:00
RD Babiera
435c89be86 Merge "usb: check for port partner Thunderbolt capability" into main 2023-10-05 23:09:55 +00:00
RD Babiera
e1a03c3dd0 usb: check for port partner Thunderbolt capability
Query the port partner's SVIDs when the DisplayPort driver sysfs
is not recognized so that the USB HAL can identify whether or not
the port partner supports Thunderbolt.

Test: manual verification on device - test to see that cableStatus
is set to NOT_CAPABLE on hub that supports Thunderbolt but not
DisplayPort Alt Mode. Then verify that device not capable of being
a DisplayPort sink but does support Thunderbolt does not trigger
this status.
Bug: 288150501
Change-Id: Iaba60ecc5510acecee1e1d3241611906c738a263
Signed-off-by: RD Babiera <rdbabiera@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:873766c6f0c668ba526eaefe18ecc5e51ce87d67)
2023-10-05 20:01:02 +00:00
Jason Chiu
79c1c0758f zumapro: limit wakelock on zumapro
Bug: 295590204
Change-Id: Idbef8c0afb59f19030f7ba8247297dd889695b24
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-10-05 11:02:18 +08:00
Florian Mayer
a4e817020a Allow to override MTE mode from device config on zumapro
Bug: 302218596
Change-Id: I77a1231dd8d4bb01b6a796838b5c1c8f8d3b2461
2023-10-04 19:42:51 +00:00
Arthur Hung
1495ad8703 Merge "Add default allow list for VRR small dirty detection" into main 2023-10-04 08:06:18 +00:00
Wesley Lee
46640f4601 Merge "Move bigwave setting to gs-common" into main 2023-10-03 22:59:49 +00:00
Roy Luo
5f6a61e1a4 Merge "usb: upgrade stats AIDL to v2" into main 2023-10-03 20:49:36 +00:00
Wei Wang
675b21989f Merge "thermal: allow system to overwrite the trip point of btmspkr_therm" into main 2023-10-03 06:47:25 +00:00
Arthur Hung
fb13b6cd10 Add default allow list for VRR small dirty detection
The feature will be enabled by the feature flag

Bug: 283055450
Test: Build
Change-Id: I04538805d58ad3a052048419bba3f53b5a688ac8
2023-10-03 04:10:04 +00:00
Joner Lin
b9d8223a46 Merge "bt: make bluetooth own the data vendor bluetooth folder permission" into main 2023-10-03 02:59:58 +00:00
Jikai Ma
67a1fe1e10 thermal: allow system to overwrite the trip point of btmspkr_therm
this should work with ag/24900428: equations of caimoto virtual skin
sensors

Bug: 296476775
Test: adb shell ls -al dev/thermal/tz-by-name/btmspkr_therm/trip_point_*
Change-Id: I943cb4b5323984bb1e6a4541978926f427d4ee12
2023-10-03 00:18:01 +00:00
Wesley Lee
a69df010ae Move bigwave setting to gs-common
Bug: 263444742

Change-Id: Ic758bf665d0017bfaf9bebcd4dae2bb117c5baaf
Signed-off-by: Wesley Lee <szuweilee@google.com>
2023-10-02 17:06:25 -07:00
Darren Hsu
dcd8acd397 powerstats: add pd-hsi0 power domain state residency
Bug: 302450566
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I19858b000f6d564e2e148c7f21e3e55591533e19
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2023-09-28 16:28:31 +08:00
Maciej Żenczykowski
f6c07adcd9 OWNERS: master -> main
Change-Id: If23c26cff2509eec3b6d6c661d431262467e2351
2023-09-28 00:29:34 +00:00
Wen Chang Liu
4559ccbd16 Merge "sync media_codecs_[bo_c2|aosp_c2|performance_c2].xml from zuma" into main 2023-09-27 10:24:56 +00:00
Treehugger Robot
ac8eb29788 Merge "thermal: allow systen to overwrite the trip point of usb_conn_therm" into main 2023-09-27 06:40:23 +00:00
YiKai Peng
1f6762bdd6 Merge "dumpstate: Add authstart permission" into main 2023-09-27 03:26:00 +00:00
TeYuan Wang
556a4ce890 thermal: allow systen to overwrite the trip point of usb_conn_therm
Bug: 302055505
Test: adb shell ls -al dev/thermal/tz-by-name/usb_conn_therm/trip_point_*
Change-Id: I7fa55fdcf6892a6a1820269f6c9377a463b88571
2023-09-26 14:18:25 -07:00
jonerlin
32d272e6b1 bt: make bluetooth own the data vendor bluetooth folder permission
Bug: 240636731
Test: enable vendor btsnoop property and check the vendor snoop log
Change-Id: I852b9d348a254c1fccb1adf9635c713dd1a54c4a
2023-09-26 23:21:22 +08:00
Darren Hsu
0f74bf9f47 powerstats: correct CL2-DVFS mapping number
Bug: 302016063
Test: Build pass
Change-Id: I7924b0888fa7bb9e7382a2f3e9891a5440ad63a5
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2023-09-26 12:38:59 +08:00
wenchangliu
b2fd1cd5a9 sync media_codecs_[bo_c2|aosp_c2|performance_c2].xml from zuma
Bug: 301897167
Test: run cts -m CtsVideoTestCases -t android.video.cts.VideoEncoderDecoderTest
Test: run cts -m CtsMediaDecoderTestCases -t android.media.decoder.cts.VideoDecoderPerfTest
Change-Id: Iae546e1e759f1e11555979b6d722ee39aa0cbc9f
2023-09-25 11:20:22 +00:00
Safayat Ullah
37e530d069 Disable outer display dimming by default
Bug: 284858074
Test: check value of property
Change-Id: Ieb6c872f6544348e14c90e1a047549819c3b5e7c
2023-09-23 07:12:18 +00:00
Hiroshi Akiyama
e837d5240b Migrate dump_power.sh contents into cpp for improved speed
Bug: 299133307
Test: adb bugreport and check dumpstate_board.txt
Change-Id: Ied22b516844cb1d39a39fbbdee0b81a69c1d2e1c
Signed-off-by: Hiroshi Akiyama <hiroshiakiyama@google.com>
2023-09-22 11:08:29 +00:00
Midas Chien
99dd96ba79 Merge "display: enable full range DPU downscale capability" into main 2023-09-22 06:53:14 +00:00
Treehugger Robot
81b7f5cfc6 Merge "Usb.cpp: Fix typos when unable to disable USB data" into udc-qpr-dev am: 206ecbd71d am: 96d8442f91
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro/+/24800352

Change-Id: I33e7c8ed998a03b4b23047347581b26254fa78e2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-21 11:30:59 +00:00
Treehugger Robot
96d8442f91 Merge "Usb.cpp: Fix typos when unable to disable USB data" into udc-qpr-dev am: 206ecbd71d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro/+/24800352

Change-Id: Ib8f0fd1959e9708ac1d14aa2bee8dad82eaf433f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-21 10:34:30 +00:00
Treehugger Robot
206ecbd71d Merge "Usb.cpp: Fix typos when unable to disable USB data" into udc-qpr-dev 2023-09-21 09:55:00 +00:00
Treehugger Robot
4b1cf53758 Merge "get more logcat files with similar disk usage for zumapro" into main 2023-09-21 01:09:39 +00:00
Roy Luo
7d8e108a00 usb: upgrade stats AIDL to v2
Upgrade stats AIDL to v2 following pixelstats lib.

Bug: 297224564
Test: Build
Change-Id: I3ff3a761467651a6550ec0c07419844189216a2e
2023-09-20 23:37:33 +00:00
Daniel Sandler
5df881c8c5 Merge "Fix a crash trying to boot the device in a pseudolocale." into udc-qpr-dev am: 69a102a244 am: 0c9f4cc655
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro/+/24811966

Change-Id: I35e8e744d4e9ddaf7fe6983f301f4057b00251fd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-20 22:07:48 +00:00
Daniel Sandler
0c9f4cc655 Merge "Fix a crash trying to boot the device in a pseudolocale." into udc-qpr-dev am: 69a102a244
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro/+/24811966

Change-Id: I248527e2ce9ac3809a4c38906afccb365983f711
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-20 21:11:39 +00:00
Daniel Sandler
69a102a244 Merge "Fix a crash trying to boot the device in a pseudolocale." into udc-qpr-dev 2023-09-20 20:20:30 +00:00
RD Babiera
7fbcdf0237 usb: enable/disable displayport alt mode through enableUsbData
Adds functionality for enabling and disabling DisplayPort Alt Mode
on the port through enableUsbData in the USB HAL to comply with USB
restrictions for heightened security mode.

Test: manual test on device - use enableUsbData dumpsys command to
      turn off DisplayPort and then turn it back on while connected to a
      partner sink.
Bug: 297208252
Change-Id: I9f071bce802b728f2229abc08efb2204e4c2505a
Signed-off-by: RD Babiera <rdbabiera@google.com>
2023-09-20 19:51:03 +00:00
Klines Jiang
b9c8e46e51 [automerger skipped] Merge "[SELinux] Add gyotaku_app doamin to Pixel 2023." into udc-qpr-dev am: e120e9d531 am: 86d6ec6e66 -s ours
am skip reason: Merged-In Ie996586ea19ce1b0b700a0192b613d2769dd0291 with SHA-1 701d590713 is already in history

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

Change-Id: I4dd10d20dc68e8d550591c743b5dba230404b49f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-20 18:40:23 +00:00
Klines Jiang
86d6ec6e66 Merge "[SELinux] Add gyotaku_app doamin to Pixel 2023." into udc-qpr-dev am: e120e9d531
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro/+/24704159

Change-Id: Ief2deda6e6f5cab62e9789a65c6b1aa56bc9f1bc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-20 18:30:41 +00:00
Chris Paulo
31a9149a27 Merge "vibrator: Enable I2C paths for DBC" into main 2023-09-20 18:16:24 +00:00