Commit Graph

669 Commits

Author SHA1 Message Date
Arijit78
cbfae0d1d9 Revert "stone: Add JamesDSP"
This reverts commit 0b05c09a19.
2024-08-07 09:34:18 +00:00
kamikaonashi
a139ac1674 stone: vintf: drop leftover perf and memory entries
not needed anymore

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-06 18:51:17 +00:00
EmanuelCN
feee889d61 stone: rootdir: Move KGSL and MSM_DRM to cores 6 and 7
By putting them on the bigger cores, they can be processed quicker,
resulting in improved responsiveness.

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-06 18:51:00 +00:00
Arijit78
0b05c09a19 stone: Add JamesDSP
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-06 18:46:18 +00:00
Arijit78
dc5503034b stone: Don't track v4a 2024-08-06 18:38:04 +00:00
Arijit78
b8c47516b5 stone: Drop v4a
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-06 18:35:51 +00:00
kamikaonashi
e4cd053939 stone: configs: drop UclampTAMin and UclampFgMin
log spam goes brrrt

W libperfmgr: Failed to write to node: /dev/cpuctl/foreground/cpu.uclamp.min with value: 159, fd: 8
W libperfmgr: Failed to write to node: /dev/cpuctl/top-app/cpu.uclamp.min with value: 692, fd: 9

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-03 02:46:24 +00:00
Jake Weinstein
3eec417e9c stone: Do not balance msm_drm and kgsl_3d0 IRQs
These are critical for display performance and should not be balanced
in order to improve latency and responsiveness.

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-03 02:46:12 +00:00
kamikaonashi
802f4be700 stone: configs: move msm_irqbalance to device tree
move from vendor to device tree

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-03 02:45:59 +00:00
kamikaonashi
369705035a stone: configs: drop double_tap node from powerhint
we dont have this node

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-03 02:45:44 +00:00
Vivekachooz
ea09de0902 stone: configs: optimize powerhint for efficiency
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-03 02:45:27 +00:00
Rafiester
9795d8d0ca stone: dont build qcom power hal
Add TARGET_PROVIDES_POWERHAL := true
to avoid conflict with caf powerhal

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-03 02:45:13 +00:00
kamikaonashi
ba527c1d05 stone: drop perf blobs
we use libperfmgr now

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-03 02:45:04 +00:00
Randall Huang
eb86b461c9 stone: rootdir: etc: fstab: data=journal,commit=1 for /metadata
Since Ext4 doesn't implement "-o sync", it commits metadata at every 5 secs.
This may cause /metadata corruption.

Bug: 162883014
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-03 02:44:41 +00:00
kamikaonashi
0f19893ac5 stone: sepolicy: fix Powerhal
allow powerhal to write, open and read

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-03 02:44:16 +00:00
kamikaonashi
8ca0e209f0 stone: rootdir: fix PowerHAL nodes
W libperfmgr: Failed to write to node: /proc/sys/kernel/sched_prefer_spread with value: 0, fd: -1
W libperfmgr: Failed to write to node: /proc/sys/kernel/sched_busy_hyst_ns with value: 3000000, fd: -1
W libperfmgr: Failed to write to node: /proc/sys/kernel/sched_busy_hysteresis_enable_cpus with value: 15, fd: -1
W libperfmgr: Failed to write to node: /proc/sys/kernel/sched_min_task_util_for_boost with value: 51, fd: -1
W libperfmgr: Failed to write to node: /proc/sys/kernel/sched_min_task_util_for_colocation with value: 35, fd: -1

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-03 02:44:04 +00:00
kamikaonashi
5058b2b9b1 stone: properties: silence more battery logspam
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-03 02:43:43 +00:00
Sugakesshaa
9cdad36cf4 stone: added sepolicy for powerhal
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-03 02:43:16 +00:00
Sugakesshaa
e26e3d453e stone: Enable powerhint parsing after boot completion
Signed-off-by: Nomishaw21 <nomishaw9@gmail.com>
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-03 02:43:00 +00:00
Sugakesshaa
28ccfda792 stone: switch with oos libperfmgr
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-03 02:42:45 +00:00
bgcngm
689e6af2a2 stone: Convert WiFi firmware symlinks to install_symlink targets
The last bit that was preventing building hermetic images.

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-03 02:42:31 +00:00
bgcngm
9c4da389cf stone: move to new RFS install_symlink targets
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-03 02:42:16 +00:00
kamikaonashi
eb91f75941 stone: audio: add back FM Tuner
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-03 02:41:57 +00:00
kamikaonashi
674ae59c00 stone: build FM again
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-03 02:41:46 +00:00
kamikaonashi
1b9178dd71 stone: fix qcom bluetooth soc
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-03 02:41:34 +00:00
kamikaonashi
2554ee8c93 stone: overlay: drop adaptive color profile
causes lags on our device

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-08-03 02:41:23 +00:00
Arijit78
eb0941240b Revert "stone: Steal SurfaceFlinger offsets from taro"
This reverts commit 8a0e5d3e0f.
2024-08-03 02:39:46 +00:00
Arijit78
1cba9c54ad Revert "stone: Convert packages disallowed to use aux cameras to prop"
This reverts commit 3a6d93676f.
2024-07-16 17:59:25 +00:00
Arijit78
04976e30ab stone: Remove duplicate entries from genfs_contexts
- Also update kernel link from crdroid in vendorsetup.sh

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-16 17:55:43 +00:00
Arijit78
2421d6ce33 stone: Official EvolutionX BringUp 2024-07-16 11:30:10 +00:00
Adithya R
e4e86ef966 stone: properties: Set SF idle timeout to 1100ms
When a clock with seconds tick is on the display, it switches back and
forth between high and low refresh rate if the timer is <=1000ms (1s).
Set it to 1.1s which is just slightly higher to avoid this issue.
This also matches stock value.

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-16 10:55:27 +00:00
Vishalcj17
8a0e5d3e0f stone: Steal SurfaceFlinger offsets from taro
* Before:
   Jitter: 0.6ms
   Total duration: 7.1ms

 * After:
   Jitter: 0.3ms
   Total duration: 6.4ms

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-16 10:55:17 +00:00
Alex Sarraf
c5563ee4a2 stone: properties: Set debug.sf.auto_latch_unsignaled to 0
Need to explicitly set auto_latch_unsignaled property to
disabled state to keep latch-unsignaled as the default
behavior.

* Also set debug.sf.latch_unsignaled to 1

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-16 10:54:55 +00:00
helliscloser
75cfaf5a58 stone: properties: Explicitly disable "Enable GL comp backpressure"
When blur is enabled,
There is severe lag in; Launcher3 while scrolling apps in App drawer, Scrolling through recents and occasionally on QS pull down.

Enabling or completely removing the prop here sm6150-davinci/device_xiaomi_sm6150-common@d6233e0 doesn't seem to make an effect.
Explicitly disabling the "Enable GL comp backpressure" prop seems to slove the issue.

Lag & janks are gone now, even with blur.

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-16 10:54:42 +00:00
kamikaonashi
a4445c3822 stone: overlay: Disable pickup gesture
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-16 10:53:01 +00:00
zeelog
393763ed7d stone: parts: Shrink resources
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-16 10:52:36 +00:00
kamikaonashi
973111e140 stone: libinit: set memory tweaks only for 4GB Users
6 and 8 GB Users are fine. atleast for now

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-16 10:52:18 +00:00
Jyotiraditya
2c6d485c69 stone: libinit: Enable config_avoidGfxAccel for 4GB variants
- This flag turns off GPU/CPU intensive UI effects and
  reduces the RAM footprint.

- Using this is a better compromise than the 'low_ram' flag
  as this does not disable features in the rom but still
  reduces RAM usage and gives better smoothness in the UI.

Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-06 17:18:49 +00:00
kamikaonashi
dcf6a5bd9c revert: stone: overlay: Set config_avoidGfxAccel to true
this reverts commit 821496e
2024-07-06 17:18:19 +00:00
althafvly
e4981371da stone: Add front-facing camera protection
* Extra padding for front facing camera cutout when camera is in use
* Remove flares on high brightness while using front camera

Change-Id: I68acb0deecbecd916be90de0a9043ea4703553df
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-06 06:54:12 +00:00
Alexander Koskovich
93b805cf1e stone: rro_overlays: Drop explicit 'sdk_version' declaration
* We don't need to manually set this anymore.

Change-Id: I1239ba541636e53f8ea4373d3815024f2cd60824
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-06 06:53:58 +00:00
basamaryan
ff84d47efa stone: Drop unnecessary BOARD_USERDATAIMAGE_FILE_SYSTEM_TYPE flag
Change-Id: Ibb96c529ac64239d7bb919e46f5a625a6deebf98
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-06 06:52:19 +00:00
SGCMarkus
f053895640 stone: unset BOARD_USERDATAIMAGE_PARTITION_SIZE
This not only saves a lot of build time when building with
TARGET_USERIMAGES_SPARSE_EXT_DISABLED and/or
TARGET_USERIMAGES_SPARSE_F2FS_DISABLED which is required
on A14, but also removes the need for the build system to
temporarily create a 40+GB userdata image.
Which means that less free space is required to start the
build.

Change-Id: Ibf48e7cdf566a4653e85352a79170b354d917234
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-06 06:51:58 +00:00
Michael Bestas
77befcb086 stone: Build missing libraries for 14 QPR3
Change-Id: I6a84526ca1e9f4e5140c8068646433cab3fe85b2
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-06 06:51:07 +00:00
AnaadiAnanta
530c5ec6ef stone: Drop duplicate libjson
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-06 06:50:50 +00:00
basamaryan
890f65768a stone: Convert packages allowed to use aux cameras to prop
Change-Id: Ie8c5cc86d3dc4937059432cd42be6dcaa6ac089c
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-06 06:50:36 +00:00
althafvly
666717ef79 stone: Add libpiex_shim for com.mi.node.mialgocontrol.so
Change-Id: I9e8b125ab5dfaa325db63b02a7fcf51577ee7b0d
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-06 06:50:11 +00:00
Paul Crowley
4fb6fd0086 stone: Remove wait_for_keymaster and all references
No longer needed now init listens for property changes on a
separate thread.

Bug: 186580823
Test: Cuttlefish boots successfully
Change-Id: Ief3a546d2154231d18957c2f703bd128966d7288
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-06 06:49:33 +00:00
Bruno Martins
3a6d93676f stone: Convert packages disallowed to use aux cameras to prop
Change-Id: I02a4711bfb5f4cebf87d6f2d8a02f47f00c2d62f
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-06 06:48:59 +00:00
Chirayu Desai
c27b05070d stone: Disable UFFD GC
Unable to determine UFFD GC flag for kernel version "5.4.268-qgki".
You can fix this by explicitly setting PRODUCT_ENABLE_UFFD_GC to "true" or
"false" based on the kernel version.
1. Set PRODUCT_ENABLE_UFFD_GC to "true" if the kernel supports userfaultfd(2)
   and MREMAP_DONTUNMAP.
2. Set PRODUCT_ENABLE_UFFD_GC to "false" otherwise.

Change-Id: Ie77d9a86a7fe94e4cade1868ffea27194f724e03
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
2024-07-06 06:48:33 +00:00