Commit Graph

163 Commits

Author SHA1 Message Date
Jesse Hall
0defa6d923 Disable GPU firmware logging am: 9497487826
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/19067922

Change-Id: I9c6ce8b50314ae6eb2757237c110892e9da4aa15
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-24 23:31:44 +00:00
Jesse Hall
9497487826 Disable GPU firmware logging
Test: check sysfs node value after boot
Bug: 237080441
Change-Id: I27d2896ad57ab9245fe78839722d8fe62fb148bb
2022-06-24 14:25:05 -07:00
Sayanna Chandula
9f66710fc9 thermal: remove gxp cooling device dependency am: 617f8719f5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/19023636

Change-Id: I51b5c047923cbec2c6b648ffeab64295ba960a4d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-23 23:28:08 +00:00
Sayanna Chandula
617f8719f5 thermal: remove gxp cooling device dependency
Bug: 236296247
Test: Build and boot on device
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: I336ac5eee16771c59a66776f71b9a4e1b5c76461
2022-06-23 23:11:18 +00:00
Jenny Ho
e3a70263b6 init.rc: add permission to dump battery debugging data
Bug: 205259954
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: I6d71cc6fb11e1881d78a81f36162e3d9493654bd
2022-06-21 06:33:43 +00:00
Jack Wu
59f0266f32 add permission for pca charge_stats access
Bug: 235050913
Test: no Permission denied while accessing the file node
Signed-off-by: Jack Wu <wjack@google.com>
Change-Id: I078990fe143d46f30eb0fdf22985c193dcde240d
2022-06-17 02:52:08 +00:00
Daeho Jeong
53b5f98e5f fstab: disable auto compression for apk,apex,so,vdex and odex am: b9e1ca36f8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/18877458

Change-Id: I0772e8130cf8544d92dcedc4ed63fc4707d822e8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-16 16:39:14 +00:00
Daeho Jeong
b9e1ca36f8 fstab: disable auto compression for apk,apex,so,vdex and odex
Bug: 235480291
Test: check mount option
Signed-off-by: Daeho Jeong <daehojeong@google.com>
Change-Id: I6ca2c41563dd63c88b96672a40b57c12b4533c74
2022-06-16 16:14:11 +00:00
Dave Chen
7f0347e6a0 Add folder needed to hold camera calibration files am: 482a3c1562
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/18884381

Change-Id: Ib8b4a3b2b616308ef9d522aae71644a2c94c0086
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-15 00:56:43 +00:00
Dave Chen
482a3c1562 Add folder needed to hold camera calibration files
Test: run on P10
Bug: 233716733

Change-Id: Ic627d73d6d9a604bda71bf2f2a91c19fc9bb1437
2022-06-14 23:52:49 +00:00
Jack Wu
d10e415cd9 init: disable dock-defend in charger mode
Need to meet energy certification test requirement which needs to
be able to charge FULL.

Bug: 235437635
Test: can charge to full on dock in charger mode
Signed-off-by: Jack Wu <wjack@google.com>
Change-Id: I727e2596928dc8f95d7aeba775241419ddd78273
2022-06-14 05:11:51 +00:00
David Chao
2b483be348 thermal: allow system to overwrite the skin_therm1's trip point
/dev/thermal/tz-by-name/skin_therm1 # ls -l
total 0
-rw-r--r-- 1 system system 4096 2022-06-06 13:41 trip_point_0_hyst
-rw-r--r-- 1 system system 4096 2022-06-06 13:41 trip_point_0_temp

Bug: 233972622
Test: ls -al /dev/thermal/tz-by-name/skin_therm1/
Change-Id: I347c645c7ce23e6e26ea7ef20db9d6f0a66b6498
2022-06-09 03:17:57 +00:00
Kean Mariotti
41329324a4 Revert "init: fix incorrect pca94xx sysfs node path"
This reverts commit 0d15498d3e.

Reason for revert: 235332394

Change-Id: I50e46d66f33b1b29917f6827fc9cb51da9fe293a
2022-06-08 12:51:36 +00:00
Jack Wu
0d15498d3e init: fix incorrect pca94xx sysfs node path
Bug: 235050913
Test: can parse pca stats in pixelstats-uevent
Signed-off-by: Jack Wu <wjack@google.com>
Change-Id: I4b921102bd46544adfc049816ba31b3188859973
2022-06-08 09:24:39 +00:00
TeYuan Wang
879b29aea1 thermal: allow system to overwrite the usb_pwr_therm's trip point
Bug: 222577017
Test: ls -al /dev/thermal/tz-by-name/usb_pwr_therm/
Change-Id: Ic7807bb67808a55e56ae65367729d083df672225
2022-05-24 17:24:41 +00:00
Jaegeuk Kim
453105b5cc Revert "use erofs for RO partitions" am: 0c024a7f2b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/18494501

Change-Id: If2a1d4fde080cd0c838494812933196e1114abf2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-23 22:31:03 +00:00
Jaegeuk Kim
0c024a7f2b Revert "use erofs for RO partitions"
This reverts commit 554e90c439.

It turned out EROFS has app-launch time regression.

FS			Total image	App-launch	OTA size (MB)
			    size (MB)	    Time (AVG)
ext4			4040 (0%)	403.77		2252
erofs (compression)	2754 (-32%)	540.98 (+34%)	2528 (+12%)
erofs (no-compression)	4126 (+2%)	476.23 (+18%)	2277 (+1%)

Bug: 231934752
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: I33f68a426ff655a9282fec66c0fa54215954aa45
Merged-In: I33f68a426ff655a9282fec66c0fa54215954aa45
2022-05-23 21:00:19 +00:00
Richard Chang
029b9e210f Support Vendor System Native Experiment for cpusets
Let vendor_init adjusted the cpusets by device config from the
server. Allow us to study the performance and power impacts
by various experiment settings.

Bug: 223685902
Test: adb remount ; adb push <init.xxx.rc> /vendor/etc/hw/ ; adb reboot
Test: change persist.device_config.vendor_system_native.<group>_cpuset and check /dev/cpuset/<group>/cpus is also modified
Change-Id: Ie8470f05aacff27d89d276468d78ab32349dbfd2
2022-05-23 06:06:15 +00:00
Wei Wang
3d3d140f4f Remove group_throttle setting
Test: Build
Bug: 233149512
Change-Id: I2416e5d1a401ba401407e46754fa33cacba6942d
Signed-off-by: Wei Wang <wvw@google.com>
2022-05-19 14:29:56 +00:00
chungkai
64dfe98a5c devfreq: reset ddr freq after boot
to reduce boot time, boost ddr freq when booting
and reset it after booting.

Bug: 230581379
Test: pass
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: Iaac39e3ad6d5950b1c9676966187eaa13affab7f
2022-05-13 06:39:41 +00:00
Taeju Park
3af716da5c Tune PMU frequency limit parameters
Bug: 223688700
Signed-off-by: Taeju Park <taeju@google.com>
Change-Id: I19e20e846fb68be4e89a966cc4f1381be151bede
2022-05-12 22:38:18 +00:00
Labib
18b07ba7ee Change sysfs file group to allow write from RadioExt am: 1ca9284256
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17955931

Change-Id: Ieb2105c634bda3f00d8fc5ec7cbe8f38a40074bf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-03 05:07:36 +00:00
Labib
1ca9284256 Change sysfs file group to allow write from RadioExt
Bug: 212601547
Test: Manual
Change-Id: Ie1638265072cc395e7292570dae2a7aadb4d20bb
2022-05-03 01:14:09 +00:00
Stephane Lee
226081edcb Add thermal stats permissions for clearing
Bug: 227199213
Test: echo 2 > /dev/thermal/cdev-by-name/dc_icl/cur_state
   Verify logcat | grep pixelstats. Ensure there are no errors
Change-Id: I72f3f9d5fd39c18bba8d4bdb023c7b9eecf6a691
2022-04-28 02:16:10 +00:00
George Lee
91793f54da bcl: Update correct vdroop threshold voltage
Bug: 230393895
Test: Boot and confirm correct settings loaded
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Iab7748f082d5e0262ab6e53f7ed6742e113e7328
2022-04-26 23:07:55 +00:00
Sayanna Chandula
aba15a7cb6 thermal: enable thermal engine for evt1.0 devices
Currently thermal engine is disabled on A0 based devices using a
separate config file, thermal_info_config-A0.json.
This change removes that restriction so that thermal engine can
be enabled for EVT1.0 devices using device specific rc file.

Bug: 196478280
Test: Build and boot on device. Check thermal config
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: I2171f38802b3770317dfb9a3b2106e613c0ccdb4
2022-04-25 18:20:58 +00:00
SalmaxChang
63024e0a54 init: restorecon modem persist file
Relabel the selinux context of modem persist file

Bug: 230289342
Change-Id: I04248cac4a247d6376686a6451251da3799cf64b
2022-04-25 14:15:30 +00:00
Kyle Tso
1c35126bb5 usb: Modify the controller name am: ef25209b6b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17903535

Change-Id: I303aa390cba705108c59f98bc00dd8814b956ac7
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-25 02:13:22 +00:00
Kyle Tso
ef25209b6b usb: Modify the controller name
The name is 11210000.dwc3.

Bug: 229960483
Signed-off-by: Kyle Tso <kyletso@google.com>
Change-Id: I671efc2e07b7057220b190181b0ef1bcef1e0dd4
2022-04-25 01:37:42 +00:00
chungkai
201c33ad90 init: update new boost rt uclamp value
update new boost uclamp value since we update
cpu capacity

Bug: 224649226
Test: pass
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: I2a6211d18af69f5a7269d389c76e43337e5f0c35
2022-04-22 16:02:13 +00:00
leohsieh
b51698c4a9 UDFPS: Configure permission for display file node.
Configure permission to get display DDIC chip id.

Bug: 228302164
Test: Verify system process can write to the node.
Change-Id: I647f6d27848d96a8639560616edc7c71a4e49aa9
2022-04-22 05:11:32 +00:00
Stephane Lee
192b1f4640 ODPM: Fix rail selection file permissions am: 87b68b782d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17663345

Change-Id: Id21d7379e0bc6a539ee9a08f5771f6578635a846
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-21 09:40:07 +00:00
Stephane Lee
87b68b782d ODPM: Fix rail selection file permissions
Test: Ensure that enabled_rails has system/system permissions
Bug: 228112997
Change-Id: I9627b35c6294aefb98e0e957f2a6b64aab0c2ae1
2022-04-21 09:18:50 +00:00
TeYuan Wang
51bffd2371 thermal: Apply thermalhal PID 2.0
Bug: 196478280
Test: build
Change-Id: I59efbf09ee9a8584f0083db9f15924470f253479
2022-04-20 15:37:48 +00:00
Sayanna Chandula
44d8473a94 thermal: modify permissions for usbc-port state change
Allow system components to change usbc-port cooling device state.

Bug: 222577017
Test: Build and boot on device
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: Ib7e86d95a73086acd295a7ab2fbc76a3fa5f990a
2022-04-12 21:49:02 +00:00
Kevin DuBois
7301b9e6bc gpu: enable IFPO for gpu power savings.
Enables GPU driver's IFPO feature which will power gate GPU more often
during interframe periods.

Bug: 225179786
Test: SST on build with fix.
Change-Id: I8da3106edb5dfe078a21d8047557948fb75ab20a
2022-04-11 15:35:52 +00:00
Taeju Park
3f98ebc83e Disable PMU freq limit in default am: 7eefb31fcd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17499319

Change-Id: I966468cfbaa6523b8008b384b7a781c1135e17ef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-08 06:20:54 +00:00
Taeju Park
7eefb31fcd Disable PMU freq limit in default
Bug: 223688700
Signed-off-by: Taeju Park <taeju@google.com>
Change-Id: I8f1e583d3208d7cc7191a5601049118aca2e1d6e
2022-04-08 05:54:48 +00:00
Stephane Lee
a4e82d4f45 ODPM: Fix rail selection file permissions am: 2ac03d73b3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17640732

Change-Id: Ibe415c289231108925a59df9127b3446c6cf40ae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-08 02:53:52 +00:00
Stephane Lee
2ac03d73b3 ODPM: Fix rail selection file permissions
Test: Ensure that enabled_rails has system/system permissions
Bug: 228112997
Change-Id: I8a9db20276e75af57c27cba7b25ac3661364329d
(cherry picked from commit 5063a9afbf)
2022-04-08 02:49:40 +00:00
Sam Dubey
81188f4bff Revert "ODPM: Fix rail selection file permissions" am: fc62bbc886
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17622579

Change-Id: If21e6cb727af3c0f2e5a9404d3680c76a39e7a26
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 13:26:31 +00:00
Sam Dubey
fc62bbc886 Revert "ODPM: Fix rail selection file permissions"
This reverts commit dc0d3c1b05.

Reason for revert: Breaking linux denials check

Bug: 228414883
Change-Id: If80be482eadc75e9f0cae794a1d8aec5f33f4492
2022-04-07 13:04:21 +00:00
Stephane Lee
6126031aa9 ODPM: Fix rail selection file permissions am: dc0d3c1b05
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17621812

Change-Id: Idb7a7e2d1ae3c8df7c4a2c402a85e64c6ac2daf1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 04:36:43 +00:00
Stephane Lee
dc0d3c1b05 ODPM: Fix rail selection file permissions
Test: Ensure that enabled_rails has system/system permissions
Bug: 228112997
Change-Id: I2fc58c7c504f4a18ee2245569258d52dc42da680
(cherry picked from commit 5063a9afbf)
2022-04-07 00:45:23 +00:00
Sayanna Chandula
14b3315633 thermal: Reconfigure GPU DFS clock to divide by 4
Program the GPU Light register to make clock divider to be divided
by 4

Bug: 223909471
Test: Local test to verify register value
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: If6b3fe9d6cd73cd110e1b6c123b2925c261b5b2a
2022-04-06 18:52:41 +00:00
TeYuan Wang
5c95b36ea8 thermal: provide chg_mdis permission for thermalHAL
Bug: 226130317
Test: ls -al dev/thermal/cdev-by-name/chg_mdis/cur_state
Change-Id: Id0681d66f33f94baed52f67aea63270a6875ac14
2022-04-06 01:55:13 +00:00
George Lee
ea926b06e2 thermal: Reconfigure DFS Clock to divide by 4
1. Reconfigure DFS clock divider to divide by 4.
2. OCP_WARN_CPU2 was repurposed for DFS usage.  Since SOFT_OCP_WARN_CPU2
was not used by BCL, it will be repurposed to replace OCP_WARN_CPU2.

Bug: 223909471
Test: Local test to verify register value
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Ie9960c30b102d67f0ade156631386b656ff82790
2022-04-01 18:34:58 +00:00
TeYuan Wang
6f00cd7be1 bcl: modify batoilo trip_point_0 permission for thermalHAL
Bug: 222017625
Test: adb shell ls -al dev/thermal/tz-by-name/batoilo/trip_point_0*
Change-Id: Ie8d122a8b70bd4f975e586733f5f2a74c46cdaa9
2022-03-30 06:12:12 +00:00
Ray Chi
7be02c0708 usb: remove set_usb_irq script for irq change
Since the dwc3 irq is moved by USB gadget hal now, the
script is not needed.

Bug: 225789036
Test: build pass
Change-Id: I42299d30df5343f06be810870c61c5cff3e41df2
2022-03-30 04:42:16 +00:00
chungkai
1a05b6dc70 init: add uclamp threshold setting
To filter tiny task, add uclamp threshold setting

Test: build and boot pass
Bug: 214098855
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: Ib8f20a8d0134eff972084cd72a2975d7f778d539
2022-03-30 03:49:30 +00:00