Commit graph

1234 commits

Author SHA1 Message Date
Android Build Coastguard Worker
09a91b477f Snap for 10853649 from 4d16a3505e to udc-qpr1-release
Change-Id: I1a961be8680ddbea529f1bed9a510453fef0a1f4
2023-09-23 21:03:10 +00:00
Android Build Coastguard Worker
882c8cc978 Snap for 10850711 from d9c5533695 to udc-qpr1-release
Change-Id: I5a227d8588e0a599eafe57e79680c78662c9bad0
2023-09-23 01:07:53 +00:00
Qais Yousef
4d16a3505e init.zuma.rc: Tune uclamp_max values for Zuma and enable uclamp_max_filter
The values are based on most efficient frequencies from EM default
profile.

Bug: 289083704
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: Iab3f17c9f32e0ea01e1a8f414373aac0fece8b46
2023-09-22 23:16:08 +00:00
Treehugger Robot
d9c5533695 Merge "usb.rc: Advertise 360p and 480p support through UVC" into udc-qpr-dev 2023-09-22 02:44:20 +00:00
Android Build Coastguard Worker
5431bbe3ed Snap for 10844344 from 16d00110ec to udc-qpr1-release
Change-Id: I12bdc621abacd501574b1f56b5aacb678d335002
2023-09-21 23:03:19 +00:00
Treehugger Robot
16d00110ec Merge "Usb.cpp: Fix typos when unable to disable USB data" into udc-qpr-dev 2023-09-21 09:55:00 +00:00
Android Build Coastguard Worker
1305197195 Merge cherrypicks of ['googleplex-android-review.googlesource.com/24814561'] into udc-qpr1-release.
Change-Id: If93764d21bccd68f42ec1c5e6a1d63184cbebf65
2023-09-21 01:06:41 +00:00
David Kimmel
1490d66c28 Revert "Sched lib affinity and freq settings"
This reverts commit 253d3d48fa.

Reason for revert: Scheduling while atomic b/301031609

Bug: 301031609
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b8332186715e9e9f54bd864992de28bd4306fc1e)
Merged-In: I8179a926315da55ede03653a1517f13f61f3fdeb
Change-Id: I8179a926315da55ede03653a1517f13f61f3fdeb
2023-09-21 01:06:34 +00:00
Android Build Coastguard Worker
e6004aa35d Snap for 10838116 from 192e50a9c6 to udc-qpr1-release
Change-Id: Ie8db81a298c0fe74872dd792030f474e6dc48783
2023-09-20 23:03:55 +00:00
Daniel Sandler
45b237962d Merge "Fix a crash trying to boot the device in a pseudolocale." into udc-qpr-dev 2023-09-20 20:20:30 +00:00
Jonglin Lee
67ce7e3fa8 Merge "Revert "Sched lib affinity and freq settings"" into udc-qpr-dev 2023-09-20 20:08:45 +00:00
David Kimmel
b833218671 Revert "Sched lib affinity and freq settings"
This reverts commit 253d3d48fa.

Reason for revert: Scheduling while atomic b/301031609

Bug: 301031609
Change-Id: I8179a926315da55ede03653a1517f13f61f3fdeb
2023-09-20 19:51:15 +00:00
Klines Jiang
192e50a9c6 Merge "[SELinux] Add gyotaku_app doamin to Pixel 2023." into udc-qpr-dev 2023-09-20 18:03:04 +00:00
Dan Sandler
daa06b517e Fix a crash trying to boot the device in a pseudolocale.
Bug: 280361527
Test: Boot in XA
Change-Id: Ief6a17da63ebe8ede682cb7fc537af77d02fc183
2023-09-20 17:29:28 +00:00
Avichal Rakesh
429d54af35 usb.rc: Advertise 360p and 480p support through UVC
Many host applications expect and ask for lower resolution streams when
streaming from a USB webcam. To support those applications, this CL
adds support for 640x480 and 640x360 streams.

Bug: 301170431
Test: Manually tested that the resolution is advertised and streamed.
Change-Id: Ifda2322747fced10c164afa98420fd35b17dbdd1
2023-09-20 10:20:55 -07:00
Amit Sunil Dhamne
5d78a3f43b Merge "UsbGadget: Update SDP enum timeout when gadget is pulled up" into udc-qpr-dev 2023-09-20 16:24:48 +00:00
Amit Sunil Dhamne
1cc4aff2c4 Merge "usb: Modify sdp enumeration timeout value in charger mode" into udc-qpr-dev 2023-09-20 16:24:04 +00:00
Richard Chang
5153214bca Merge "Add p23 perf setup script" into udc-qpr-dev 2023-09-20 10:48:47 +00:00
Jyun LuoLai
a2ebdba340 Merge "Remove READ_PHONE_STATE for dcservice" into udc-qpr-dev 2023-09-20 00:33:13 +00:00
Android Build Coastguard Worker
9c7983cc46 Snap for 10832001 from a04563d81b to udc-qpr1-release
Change-Id: I48ef44d624df2d03adc4c8aa914f7b7b85eb3d80
2023-09-19 23:03:51 +00:00
Amit Sunil Dhamne
e97fc75c92 usb: Modify sdp enumeration timeout value in charger mode
Write to /sys/class/typec/port<...>/device/update_sdp_enum_timeout
to reduce SDP enumeration timeout value when device is in charger
mode. This will enable faster detection of a DCP port.

ported from 6710e31a629f81cf308e1099f75a01c82db6d006

Test: Validate (in charger mode) that the sysfs attribute is 1
      (meaning lower sdp timeout value is being used). Read dmesg to
      see print showing timeout value is 5000ms.
Bug: 275687235
Change-Id: I1bc872911d7f1eab26e62fe6f12fba05608e0f83
Signed-off-by: Amit Sunil Dhamne <amitsd@google.com>
2023-09-19 13:58:20 -07:00
Amit Sunil Dhamne
e683802386 UsbGadget: Update SDP enum timeout when gadget is pulled up
Indicate to the kernel that the usb gadget is pulled up
by writing to `update_sdp_enum_timeout` sysfs node. Write
to this node will inform the kernel that it can lower the SDP
timeout alarm value which is used to detect an SDP port
vs a DCP.

(ported from c5c5b127a7ed0db559d286284fe77b656bef6945)

Bug:275687235
Test: Check `update_sdp_enum_timeout` is written into after usb
     gadget is pulled up. Verify that the alarm timeout lowers.
Change-Id: Id3ae7e7a20b236cec6604414a7f81860e868bdd0
Signed-off-by: Amit Sunil Dhamne <amitsd@google.com>
2023-09-19 13:45:30 -07:00
Wilson Wu
a04563d81b Merge "Disable variable refresh rate when typing on zuma" into udc-qpr-dev 2023-09-19 09:22:05 +00:00
Kuen-Han Tsai
3ce6a5fe2e Usb.cpp: Fix typos when unable to disable USB data
If Usb.cpp cannot write a zero value to the USB_DATA_PATH file, display
the message of "Not able to turn off usb connection notification".

Test: refactoring CL. Existing tests still pass.
Bug: 301016122
Change-Id: I5d2c24154bd1d2c20810bcb4db0a3b2cc575fcfe
2023-09-19 17:03:16 +08:00
Richard Chang
e70b0f0b25 Add p23 perf setup script
Bug: 295218781
Test: Build
Change-Id: I0d708db94f38da16103140b978f8429c8bb9aa7c
2023-09-19 07:11:59 +00:00
Wilson Wu
5d570937bc Disable variable refresh rate when typing on zuma
Turn off config_variableRefreshRateTypingSupported on zuma.

Bug: 299966467
Test: presubmit
Change-Id: I7c58ef2e756553ed11b98b68b846228251942bd2
2023-09-19 06:11:05 +00:00
Jyun LuoLai
1a3925509e Remove READ_PHONE_STATE for dcservice
We'll rerun the review to use READ_PRIVILEGED_PHONE_STATE in QPR2
instead

Bug: 293811206
TESTED=Manual

Change-Id: I71bc67b102f5c7f021d774c5c505e0a8713f36e6
2023-09-19 01:45:10 +00:00
Kalesh Singh
9b743e5938 zuma: Set max supported page size to 4096
Temporarily reset the max page size on zuma devices to 4096 to avoid
extra gap VMAs in P23 devices for qpr1.

Bug: 300942232
Test: readelf -Wl /system/bin/init
Change-Id: I1fda0599a21c633292062db1278df0fed50de23e
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
2023-09-18 18:35:13 +00:00
Android Build Coastguard Worker
0170fa5402 Snap for 10820143 from c54ce72fc0 to udc-qpr1-release
Change-Id: Ic33f6f4425414fd5091cb2c7b9952963dae1ddf3
2023-09-16 21:03:07 +00:00
Android Build Coastguard Worker
a535b06555 Snap for 10817717 from c36ea22efc to udc-qpr1-release
Change-Id: Iab7775b8b2c116b7dfdf573b05b489eddf60b2f2
2023-09-16 01:07:45 +00:00
Wei Wang
c54ce72fc0 Merge "Sched lib affinity and freq settings" into udc-qpr-dev 2023-09-15 23:48:33 +00:00
David Kimmel
253d3d48fa Sched lib affinity and freq settings
Bug: 170648047
Test: sched / hints applied correctly
Change-Id: Ib4d820b0d12d1bbd7fe9340eaf184aaf7fff9c9a
2023-09-15 22:01:10 +00:00
Klines Jiang
05ac33ebcc [SELinux] Add gyotaku_app doamin to Pixel 2023.
Bug: 296836878

Test: Local build and tested pass.
Change-Id: I58d9fb298477cc67ec2cd4a308be679e2e75c98d
Merged-In: I58d9fb298477cc67ec2cd4a308be679e2e75c98d
2023-09-15 02:56:26 +00:00
Android Build Coastguard Worker
6438f0f713 Merge cherrypicks of ['googleplex-android-review.googlesource.com/24750388'] into udc-qpr1-release.
Change-Id: I6a9ee15f30d9fe3066ed843b05224fcc1c23dfa8
2023-09-15 00:36:15 +00:00
Sergey Volk
20c67af437 DO NOT MERGE displayport: Move sysprop for enabling DP to device level
Move sysprop for enabling DP to device level makefiles so DP
configuration can be controlled at a device level.

Test: manual (check /sys/module/exynos_drm/parameters/dp_enabled)
Bug: 300167292
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:dbfd61757233989a4b75a7e99fbf85c60b06d634)
Merged-In: Ic2ee2bba8960fe0960ac8acf03eaa2ac4b9b74e6
Change-Id: Ic2ee2bba8960fe0960ac8acf03eaa2ac4b9b74e6
2023-09-15 00:35:54 +00:00
Sergey Volk
c36ea22efc Merge "DO NOT MERGE displayport: Move sysprop for enabling DP to device level" into udc-qpr-dev 2023-09-14 21:04:23 +00:00
Sergey Volk
dbfd617572 DO NOT MERGE displayport: Move sysprop for enabling DP to device level
Move sysprop for enabling DP to device level makefiles so DP
configuration can be controlled at a device level.

Test: manual (check /sys/module/exynos_drm/parameters/dp_enabled)
Bug: 300167292
Change-Id: Ic2ee2bba8960fe0960ac8acf03eaa2ac4b9b74e6
2023-09-14 17:50:43 +00:00
Android Build Coastguard Worker
6395541846 Snap for 10804332 from 070611ca06 to udc-qpr1-release
Change-Id: I6fd558c2f1969e69944aa51a94a15498fdf5c5a9
2023-09-13 23:03:21 +00:00
Florian Mayer
070611ca06 Merge "Allow to override MTE mode from device config" into udc-qpr-dev 2023-09-13 17:52:49 +00:00
Android Build Coastguard Worker
3b718f0d0f Snap for 10797983 from 8138c20142 to udc-qpr1-release
Change-Id: I4251e49aa1427ed5228cab967366f04ecfb54b83
2023-09-12 23:03:37 +00:00
Bethany Barrientos
8138c20142 Merge "Grant default permissions to PCS for camera connectivity" into udc-qpr-dev 2023-09-12 15:19:51 +00:00
Joey Poomarin Phloyphisut
b0447d525c Merge "pixelstats: change path for CCARatePath" into udc-qpr-dev 2023-09-12 03:47:52 +00:00
Bethany Barrientos
f4be3b2c1c Grant default permissions to PCS for camera connectivity
- android.permission.POST_NOTIFICATIONS
- android.permission.BLUETOOTH_CONNECT
- android.permission.BLUETOOTH_SCAN

Test: make and install. verify PCS had permissions.
Bug: 287069860
Change-Id: Iefd0d80d803b36610e14bdfec07b762d7c90bd58
2023-09-11 13:52:54 -05:00
Android Build Coastguard Worker
61f8465138 Snap for 10783763 from 21c643b232 to udc-qpr1-release
Change-Id: I05844e2d9a92ed1d6a583695b3288c9b4462ce7c
2023-09-09 01:03:29 +00:00
Florian Mayer
f4915a01f6 Allow to override MTE mode from device config
Test:
  # setprop persist.device_config.runtime_native_boot.bootloader_override force_on
  # setprop persist.device_config.runtime_native_boot.mode_override sync
  # cat /sys/devices/system/cpu/cpu?/mte_tcf_preferred

Bug: 299536833
Change-Id: If919c002a91b50448aa2ce47e206005e2301a4a6
2023-09-08 18:15:32 +00:00
Kalesh Singh
21c643b232 zuma: Disable MGLRU
Disable mglru in P23 devices.

Bug: 299636739
Change-Id: I73c997f76b02a08c38b8e8d8a9c0bec24237fce6
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
2023-09-08 17:03:40 +00:00
Android Build Coastguard Worker
073b5a9af3 Snap for 10776546 from 969c01c3f2 to udc-qpr1-release
Change-Id: Ic797d41bc019e530f4b76f66cbea62afd5bc4eaa
2023-09-07 23:03:14 +00:00
Jayant Chowdhary
969c01c3f2 Merge changes from topic "webcam-shusky" into udc-qpr-dev
* changes:
  usb gadget: Add config for UVC in init
  UsbGadget: Add support for UVC function
2023-09-07 19:38:53 +00:00
Yong Zhang
a4675a60af Merge "Revert "Enable small dirty detection for variable refresh rate"" into udc-qpr-dev 2023-09-07 17:50:03 +00:00
Jorim Jaggi
fd050630b3 Revert "Enable small dirty detection for variable refresh rate"
Revert submission 24149209-enable-vrr-extension

Reason for revert: Bug: 299131033

Reverted changes: /q/submissionid:24149209-enable-vrr-extension

Change-Id: I6eeeff61ab7b630e994af17727504307ef4ed793
2023-09-07 17:48:55 +00:00