- Introduce a new shell script to set IRQ affinity, since different
kernels can have different IRQ numbers.
Change-Id: I61d2350e6b40f096714148c568489579bc4d2371
Co-Authored-By: Alex Naidis <alex.naidis@paranoidandroid.co>
Co-Authored-By: Jake Weinstein <jake@aospa.co>
These are critical for display performance and should not be balanced
in order to improve latency and responsiveness.
After unbalancing, move these IRQs to separate cores
to improve latency.
Set drm_vblank_offdelay parameter to -1, to make DRM
issue the vblank disable immediately with out delay.
By defailt the DRM framework has a delay of 5 secs
timeout before issuing the vblank disable.
RescueParty's aggressive approach to error recovery almost never helps
with the problems we're likely to face, and its risk of data loss is far
too high. Force-disable it entirely and remove all other conditions,
especially those that depend on data integrity in the first place, to
reduce the risk of RescueParty triggering falsely and causing data loss.
Note that it is still possible to force-enable RescueParty for testing
purposes using the persist.sys.enable_rescue property.
* Automatic Channel Selection algorithms and implementations
are used to enable interfaces to automatically figure
out which channel configuration to use for initiating
communication, for any mode of operation which initiates
radiation (AP, Mesh, IBSS, P2P).
https://wireless.wiki.kernel.org/en/users/documentation/acs
Implement a smarter system on whether to connect
to the provided 2Ghz or 5Ghz network.
Change-Id: Idd41e3d9a5e2bde3ea9b4873dffc4274d1530324
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
TDLS off-channel feature is needed only for
certification. Disable the feature in production
builds.
Bug: 161320896
Test: Basic wifi sanity test.
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
- 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: Pascoato <viniciuspascoato@gmail.com>
* Choreographer VSync has some performance impact for CPU rendered apps
as the app has to wait for VSync to start a new frame draw. When the
frame draw time exceeds one VSync, this has a direct impact on the FPS.
debug.cpurend.vsync property controls the VSync for CPU rendered apps.
Disable VSync for CPU rendered app, by setting this property to false.
Set debug.sf.latch_unsignaled=1 is used to allow surfaceflinger to
latch unsignal buffers that can give more time for buffer to render.
But if the buffer takes longer time to finish, it will block whole
display pipeline result to jank.
Bug: 157964883
Test: scrolling, launch
Change-Id: I56c3e05921de5fc9569bf3f93fde03022a64b6a4
Signed-off-by: kibria5 <mdkibria687@gmail.com>
* Banking apps read the file /proc/net/unix to
check system modifications, (in our case, custom rom)
Let's avoid this by chmod it 440.
Test: Install a banking app as of Brazilian Nubank or PicPay, login.
Observed no side effects on any other proccess or apps
Change-Id: I12a356b7fe827ee005848108e2075534c7ec91bc
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
- SurfaceFlinger Durations work fine in some scenarios like during
fling, browsing on chrome and etc. But it breaks HWUI graph during
activities like scrolling or JankBench tests, even when the the
governor is set to performance.
Test- Open UIBench.apk and look for jitter
Fixes- Total duration in UIBench. Major reduction from 11ms to 6ms on sm6150
Signed-off-by: Panchajanya1999 <panchajanya@azure-dev.live>
Change-Id: Ic1bf9d6ffbf57a2132a2dc6bedd0bcc136768502
Devices supports switching between 60 and 120 Hz refresh rates,
so let's expose it in Settings -> Display -> Peak refresh rate for users to save
battery if necessary.
Test: visual confirmation after toggling several times
Change-Id: Ia206c495e3f40f583f8cd35e7753c30a5e917656
Signed-off-by: afterallafk <shivamatiet2001@gmail.com>
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 d6233e0e7c 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: helliscloser <mrumais@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Coptan99 <omarcoptan9@gmail.com>
Need to explicitly set auto_latch_unsignaled property to
disabled state to keep latch-unsignaled as the default
behavior.
Change-Id: I3856caaf0a68e7e720819f25338d1eb9196f56b0
* Disabling fast charge may be useful for reducing the heat produced by the device while charging, or for extending the lifespan of the battery
* This commit introduces the fastcharge HIDL, which writes in the node
/sys/class/qcom-battery/restrict_chg
0 or 1 depeding on user selection.
0 means that fastcharge is enabled, while 1 means that fastcharge is
disabled
Change-Id: I369ba9c437b3a83a88c2ce74d603b7d7ddd9cfbb
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
Signed-off-by: althafvly <althafvly@gmail.com>
Signed-off-by: NotZeetaa <rodrigo2005contente@gmail.com>
Signed-off-by: kibria5 <mdkibria687@gmail.com>
It used to overlap with the gesture pill
Change-Id: Ief5d9a122a8b07b6c602c9a84ed516b7ad0c569c
Signed-off-by: Elias Dimopoulos <linkdevel@protonmail.com>
Signed-off-by: Omar Mohamed <omarcoptan9@gmail.com>