Commit Graph

288 Commits

Author SHA1 Message Date
5d9106e390 [TEMP] sm6250-common: Don't build soundtrigger
Change-Id: Ic97d58400fd5be7070b037b527c07916c8e9655d
2022-08-28 05:23:26 +00:00
276d411baf sm6250-common: Update defconfig name
Change-Id: Ia3d0f7517aa4dfb68085ebceb003d38c2be1b692
2022-08-28 04:57:31 +00:00
f614dcf67f Revert "sm6250-common: Drop all component overrides"
This reverts commit e88c1e8a67.

It's still needed for AOSP BT stack, only HidDeviceService is
enabled by default.

Change-Id: Iff7880f8301e0b3d343786607881eec0326b5fcf
2022-08-28 04:11:52 +00:00
4968acb16f sm6250-common: powerhint: Remove TASchedtuneHighCap
Change-Id: I82b0851345c57372a497ff64d2f81c5579e92662
2022-08-24 15:58:27 +00:00
415e61da00 sm6250-common: Update kernel branch
Change-Id: Iba92a846562e897eaea6050707288a814f2d2e57
2022-08-24 15:58:21 +00:00
f476c6ccbe sm6250-common: Remove TARGET_ENABLE_MEDIADRM_64
* It's only used when building drm@1.0 HIDL

Change-Id: I06412e2dd2bb48d798be4ef6e9a26a17b65277a7
2022-07-07 17:53:45 +00:00
4ef4060f1e sm6250-common: Remove more unused 32-bit libs
Change-Id: I46d6728851999b14c0ab6a5b93f2653cc7b689f5
2022-07-07 17:41:24 +00:00
d375b442bc sm6250-common: Remove unused 32-bit display libs
Change-Id: I2bbca40547556e71d1eb6f669d65cde9d9f2a0dd
2022-07-07 17:41:24 +00:00
22d4838298 sm6250-common: Remove unused 32-bit Bluetooth libs
Change-Id: Icbb1ad6817d2ed703f83822e0f557b17c00ea984
2022-07-07 17:41:24 +00:00
3313774235 sm6250-common: Remove 32-bit NPU libs
Change-Id: I3d0ae86c36410446940a6edb7c455267236ca2f7
2022-07-07 17:41:24 +00:00
acb8c01a9b sm6250-common: Remove 32-bit DRM libs
Change-Id: I123ce6c5014d40938651a9b59df185b4ed87174a
2022-07-07 17:41:23 +00:00
6c8c41ee7d sm6250-common: Remove 32-bit RIL libs
Change-Id: Ied3d8001e619a8bc2700273f6478cdf58464af38
2022-07-07 17:41:23 +00:00
d1dcdac96b sm6250-common: Remove 32-bit IMS libs
Change-Id: Iac3ea7148ced11734f0d67c64523ed935cd06485
2022-07-07 17:41:23 +00:00
a40d2b25b5 sm6250-common: Remove 32-bit CNE libs
Change-Id: I9106b8d5ac8b7f10839ed0b3801390a220041739
2022-07-07 17:41:22 +00:00
b8e6b9401b sm6250-common: Remove 32-bit GPS libs
Change-Id: Id05cc0883a1b9708c3f888d6ab8938c5b34beb2d
2022-07-07 17:41:22 +00:00
09ee597f9e sm6250-common: Remove unused libqsap_sdk
Change-Id: Ib543425786c498eec8ef421f85047bcb1cb0cae3
2022-07-07 17:41:22 +00:00
3d341f5db0 sm6250-common: Remove useless servicetracker HAL
Change-Id: I13cad89a12800bbfd5b63dfa99375b896cf07796
2022-07-07 17:41:22 +00:00
76fa0c541a sm6250-common: Allow hal_nfc_default to search nfc_vendor_data_file
[   77.883303] type=1400 audit(1602012223.756:15): avc: denied { search } for comm="nfc@1.2-service" name="nfc" dev="mmcblk0p85" ino=778309 scontext=u:r:hal_nfc_default:s0 tcontext=u:object_r:nfc_vendor_data_file:s0 tclass=dir permissive=0

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: Icf414bd7c34fe9b318d684dac2b167717e53aad3
2022-06-10 18:56:57 +01:00
57342d543e sm6250-common: overlay: Enable haptic text cursor
Support has landed in WebView, so time to turn it on in framework!

Change-Id: I064cf3512928637895932b3405adaec74b1ceed2
2022-06-10 18:56:56 +01:00
df89afc125 sm6250-common: Add missing lib needed for depth camera sensor
* Apparently this lib is missed out during initial oss vendor import, and it leads to gc02m1_i_gc depth sensor not to work

Change-Id: I0605f187005bd80b3fd29734862a2347f52217f2
2022-06-10 18:56:56 +01:00
214de489e0 sm6250-common: Drop QTI camera device usage
* qcom-camera topic hasn't been ported to 19.1
* Keep building vendor.qti.hardware.camera.device@1.0 interface lib, IMS stack and possibly camera HAL still needs it

Change-Id: I87bcd5b54ad986d5844df50de243fc1a18507198
2022-06-10 18:56:56 +01:00
4412b5e6b3 sm6250-common: Modify Vulkan and OpenGL version to 2020-03-01
Bug: 191252896
Test: android.graphics.cts.VulkanDeqpLevelTest#testVulkanDeqpLevel pass
Change-Id: I0e598ee8a26cd614dc5076a87c514756ba39d740
2022-06-10 18:56:55 +01:00
7c87ce00b6 sm6250-common: Add OpenGL ES and update Vulkan dEQP feature flags
Populates a new	feature	flag to	record the level of OpenGL ES dEQP
test support.  Updates the analogous Vulkan dEQP feature flag to the
value for the next dessert release.

Bug: 159841535
Bug: 175706433
Merged-In: Ib0fb8f83732d0b3f56bb11a97c84fdc7727c1026
Change-Id: Ic97a65fba95a67e3e16cedd0eb4f3f209f645421
2022-06-10 18:56:55 +01:00
1c7eca6cee sm6250-common: Add android.software.vulkan.deqp.level, version 2020-03-01
This change sets the new Vulkan dEQP level feature flag to the value
corresponding to the Vulkan dEQP tests for Android 11.

Change-Id: I0715787b310f48c27747849ebd0724e0ca6fbbde
2022-06-10 18:56:55 +01:00
b6ffec238a sm6250-common: Add power AIDL DT2W support via sysfs node
Change-Id: Idcff758444a5c89ba20f2ae804a407ee78c445cb
2022-06-10 18:56:54 +01:00
0f2706fdbf sm6250-common: Drop power AIDL extension
Change-Id: Ied144ee0f7840ab43499d43f3d0c64dfd414d99f
2022-06-10 18:56:54 +01:00
997f35cf06 sm6250-common: Remove zram writeback leftovers
It has been disabled in kernel because of memory corruption.

Change-Id: I50e4cdc39b38a510d39032253606ddec3e41d22c
2022-06-10 18:56:54 +01:00
97d6891e3e sm6250-common: libinit: Override odm_dlkm and vendor_dlkm props
Change-Id: If601ae82e6bcaeec756f868575b2ae465f21156c
2022-06-10 18:56:41 +01:00
6bef2ba651 sm6250-common: Update blobs from V12.5.5.0.RJWINXM
Change-Id: Id7856c2376aaa7090625a8c93f641c339441cb50
2022-05-17 13:30:48 +00:00
dee66e57d0 sm6250-common: remove IO read_ahead_kb tune
If we set 2048KB ra value in the beginning of the
boot process, services initialized at this time would
keep 2048KB ra value even though we adjust the ra value
to 128KB after boot completion.

This may cause memory pressure.

Bug: 174700194
Signed-off-by: Randall Huang <huangrandall@google.com>
Change-Id: I97ee0ee9511eaada011f2634afd68d68cdca4570
2022-05-17 13:30:47 +00:00
83d95d4632 sm6250-common: Drop all component overrides
* Qualcomm no longer disables these for targets
   that support RRO, e.g. all QSSI targets.

Change-Id: I0372817623e8d0e58926fbfb519671c3caa07b86
2022-05-17 13:30:46 +00:00
f5c25f1a75 Revert "Revert "sm6250-common: rootdir: Enable s2idle""
This reverts commit fcb861b215.

Fixed:
https://review.lineageos.org/q/Idbb2e825c489e174d5701e0c315b51a3149bfe49

Change-Id: I73b3eb3dc9bba90aa4579b31d5122e1cfce52491
2022-05-17 13:30:45 +00:00
1a5d9cbd51 Revert "Revert "sm6250-common: Drop prebuilt camera provider""
This reverts commit 095449565c.

I actually think it's camera apps' fault since GCam doesn't have any
issues with auxiliary cameras.

Change-Id: I4e75bb27e4508935c0862353c5dbb3e1bb32a69a
2022-05-17 13:30:44 +00:00
26f4c9e226 Revert "sm6250-common: Import QTI Codec2 HAL and switch to Codec2 by default"
This reverts commit c45471638a.
2022-05-17 13:30:23 +00:00
6a0edfb87a sm6250-common: Build LiveDisplay
Change-Id: I05d9aaea5177f005885194c94b08642024bdc623
2022-04-14 20:16:50 +01:00
a2b74f2450 sm6250-common: dependencies: Explicitly specify branches
Change-Id: I634cae3be0ae22a2d4bfc711cdcbd32d52b4766d
2022-04-14 20:06:55 +01:00
7b38336f3f sm6250-common: rootdir: Fix typos
Change-Id: I5f4f1a6dd8c4ac4d7a2096d7416846eb66ff9fca
2022-04-13 18:46:07 +01:00
f7ab6fd063 sm6250-common: overlay: Enable auto brightness while dozing
Change-Id: I89c2318ef7f4585c20bff0c46e02e449aac46755
2022-03-31 17:13:47 +01:00
fcb861b215 Revert "sm6250-common: rootdir: Enable s2idle"
This reverts commit b037c145f5.

s2idle happens to cause RCU stalls. Disable it until a solution is found.

Change-Id: If0a6c817f415f6ddbdc202423492a7d2ebf1d0fb
2022-03-29 14:47:11 +01:00
49c7ddc218 sm6250-common: Switch back to the default sepolicy path
This reverts commit 1379e4ef17.

Change-Id: I1f05b4040d7e3e28a718e92aa40532e2afa84780
2022-02-23 17:59:03 +00:00
bc4c9909f8 sm6250-common: sepolicy: Label UFS clock gating node
Change-Id: I54326740d35a95b3c5ec544a7916784f98aa92e2
2022-02-23 06:31:12 +00:00
c87ef2f661 sm6250-common: powerhint: disable UFS gating work in touch and app launch boost
Disable UFS gating work to boost app launch and touch behaviors.

Before (launch time):
com.google.android.calculator, 507
com.google.android.deskclock, 457
com.google.android.apps.maps, 839
com.google.android.apps.messaging, 624
com.google.android.dialer, 599
com.google.android.apps.photos, 224
com.google.android.youtube, 1016
com.google.android.apps.nbu.files, 618
com.google.android.contacts, 532
com.google.android.gm, 589
com.google.android.GoogleCamera, 674

After (launch time):
com.google.android.calculator, 479
com.google.android.deskclock, 423
com.google.android.apps.maps, 769
com.google.android.apps.messaging, 562
com.google.android.dialer, 553
com.google.android.apps.photos, 177
com.google.android.youtube, 968
com.google.android.apps.nbu.files, 587
com.google.android.contacts, 510
com.google.android.gm, 550
com.google.android.GoogleCamera, 587

Bug: 149610499
Test: run app launch time test
Change-Id: I7e3ee0785ee470ee46d57f9fa03ec042028b1417
2022-02-23 05:30:26 +00:00
6c07d0e241 sm6250-common: rootdir: boost UFS during boot
Before:
SystemServer_start            : 4.963   0.14877
SystemUi_start                : 6.4789  0.17614
system_server_ready           : 6.8311  0.17777

After:
SystemServer_start            : 4.8848  0.13089
SystemUi_start                : 6.2907  0.14558
system_server_ready           : 6.6286  0.14705

Bug: 63644084
Test: 50 boot with packages/services/Car/tools/bootanalyze/bootanalyze.py
Change-Id: Icebc7a2e5b223c4749adb6575c52a99ef6c5faa0
2022-02-23 05:19:35 +00:00
bf960d89fd sm6250-common: powerhint: Remove SchedTune boost node
The value set in the init scripts should be enough (it's 10 currently).

Change-Id: Ic8e334e5332947387fe366099cfa0dd7e80e06de
2022-02-22 18:23:10 +00:00
843bf5b9d6 sm6250-common: powerhint: Boost big cluster on interaction
According to freqbench results [1], 825 MHz is the most efficient frequency on big cluster.

[1] https://github.com/kdrag0n/freqbench/tree/96d72eac/results/sm7125/main

Change-Id: I6655484527feecc3e0c815ddab3be319643cd92c
2022-02-22 18:23:09 +00:00
06c533b321 sm6250-common: Remove non-existent properties
Change-Id: I4a4d2fc88815fc5f3b61ee3972534ed30f7ed131
2022-02-22 18:23:09 +00:00
7817ef46da sm6250-common: Align audio properties with CAF
* From https://github.com/LineageOS/android_hardware_qcom_audio/blob/b7ba7613/configs/atoll/atoll.mk

Change-Id: I2eed378247be51feb217c2867ec6904bacfdf492
2022-02-22 16:01:29 +00:00
1379e4ef17 sm6250-common: update qcom sepolicy include path
Change-Id: Ia3aa7efb75c86921fd10a23180ed95259798970e
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2022-01-02 05:35:31 +00:00
2e110efe72 sm6250-common: sepolicy: specify the owner of vendor props
vendor_fp_prop is public because apps like Alipay may access it
to enable biometrics payment authentication.

Change-Id: I167bca763bdf2a5e66ed763f8e0a61b74c915498
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2022-01-02 05:35:31 +00:00
9a0f82ac21 sm6250-common: sepolicy: Remove unused type definitions
Change-Id: Idea8863bf29f609a4641275c3d30d7f6396eda0f
2022-01-02 05:35:31 +00:00