/dev/cpu_dma_latency accepts values in either s32 or hex format,
so convert 67 (dec) to 43 (hex).
sdm845-common comment:
I assume Google meant to set cpu dma latency to 44 in decimal
rather than hex because 44 is the lowest valid latency value for
C3 LPM state, according to qcom,latency-us in sdm845-pm.dtsi.
The pm qos request is only active when the fd is kept open, so
the dummy value of 100 does not really matter. Keep it as is.
Test: hexdump -C /dev/cpu_dma_latency
00000000 2c 00 00 00 |,...|
00000004
Test: kernel pr_err() in pm_qos_power_write() before
pm_qos_update_request()
Inspired by Artem's commit "qos: Workaround for faulty libperfmgr
config".
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Enable 64 bit compilation for DRM plugins.
This will generate DRM plugins, HALs & oemcrypto_test in 64 bit.
Change-Id: I451db39edea3446d9816fcaba77caa8d3b097afb
libdisplayconfig was replaced by libdisplayconfig.qti on R. While
we are at it, build vendor.disiplay.config@1.0.vendor as well so
that QSEECOMD is happy.
E QSEECOMD: : Init dlopen(libsecureui.so, RLTD_NOW) is failed.... dlopen failed: library "vendor.display.config@1.0.so" not found: needed by /vendor/lib64/libsecureui.so in namespace (default)
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Common config.fs/$TARGET_FS_CONFIG_GEN AID/fs configuration
file for all chipset inheriting from base.mk.
Since legacy device-specific android_filesystem_config.h and
config.fs do not co-exist, temporarily include config.fs only
if legacy file is absent. Once all legacy, device-specific
files have been deleted, config.fs can be made unconditional.
Change-Id: Ie100d0cd9db808b82d99be7139f0709390c7f3a2
* vendor_init isn't allowed to create files under system_data_file
context, leading to early init panic.
Change-Id: Ie344cc4ece2783bb7d372f64c2c23b4d5ea2cda0
Android 10 deprecates the ConfigStore HAL as we can see here:
https://source.android.com/devices/architecture/configuration
Signed-off-by: Mesquita <mickaelmendes50@gmail.com>
Change-Id: Ia9d862190e0da544096023b28f18323c58352546
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
* We aren't using QCOM's perfd but our blobs still check for this.
* To avoid unnecessary errors, let's just add it back.
Change-Id: Icc44b330f21a658cfa8ded691a6628d8f62c3649
Signed-off-by: DennySPb <dennyspb@gmail.com>
This change yields considerable SQLite performance gains. It
should be generally safe as this device has irremovable battery.
Some OEMs have been doing this for years.
Signed-off-by: Jesse Chan <jc@lineageos.org>
Signed-off-by: DennySPb <dennyspb@gmail.com>
Change-Id: I50d9b3d9f019772fedc7066675249116d5e441e4
There is no evidence that Qualcomm devices running a rather recent IMS
stack need to include AOSP RCS packages. RCS already worked before this
change and continues to do so, but the main goal was to get rid of some
of the RCS related log spam, which was accomplished here.
Change-Id: I219546e29d288373877e9bcd194a60ef5e09f224
Signed-off-by: DennySPb <dennyspb@gmail.com>
Disable WPA2 to WPA3 auto-upgrade in P18 and P19 devices.
These devices do not support roaming in WPA3 networks. Reduce the
probability of roaming issues by using WPA2 and not upgrading to WPA3.
Bug: 169948620
Test: atest ClientModeImplTest ScanResultMatchInfoTest WifiCandidatesTest
Change-Id: I9f7ec5c0007efcc5c6669d013c8b24347b15f7c4
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Signed-off-by: DennySPb <dennyspb@gmail.com>
TDLS off-channel feature is needed only for
certification. Disable the feature in production
builds.
Bug: 161320896
Test: Basic wifi sanity test.
Change-Id: I99e34efdc1137e10d31de985771e84b8b1aa3d86
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Signed-off-by: DennySPb <dennyspb@gmail.com>
Preinstalled overlays needn't be signed with the same cert
as the package it overlays, simply being preinstalled is
enough. Sign with the default cert instead for now, which
provides fewer special privileges.
Bug: 162195999
Test: verify values still overlaid correctly
Change-Id: I017491fd383551c5aadf8648edb900e0c12a27b8
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Signed-off-by: DennySPb <dennyspb@gmail.com>