Compare commits

...

4 commits

Author SHA1 Message Date
Alec Mouri
190314fe37 sm8350-common: Force device to treat 170M as sRGB in SF
Bug: 229442032
Test: builds, boots
Change-Id: I2910f9d025ca6a6f3e73544e8f14346cfb0bc177
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
2025-04-07 22:55:09 +00:00
Pullakavi Srinivas
b614ffb3a8 sm8350-common: hwc: Disable SF composition prediction model.
CRs-Fixed: 3243885
Change-Id: I64f82a25768b561bb343fdb7686b7d6c020d024a
2025-04-07 22:55:02 +00:00
quic_swarbu
0560c71b5d sm8350-common: display: Disable the property debug.sf.enable_gl_backpressure
Change-Id: Ib328ee094d7c164b50007703ab7610661c2ec017
2025-04-07 22:54:54 +00:00
Adithya R
ed52a2da30 sm8350-common: Move citsensorservice to background cpuset
This service hogs a considerable amount of CPU all the time as its
busy calculating compensation for our under-display light sensor
(and also spamming logcat, which we can take care of later).

  PID USER         PR  NI VIRT  RES  SHR S[%CPU] %MEM     TIME+ ARGS
 1969 system 20 0 12G 9.2M 9.0M S 4.6 0.1 1:13.15
vendor.xiaomi.sensor.citsensorservice@2.0-service

Move it to background CPU set like the sensors multihal to lower
power consumption from big cores.

Change-Id: I8c7b2835b2b53654642ac20fd97df3b8a5ad96eb
2025-04-07 22:54:37 +00:00
2 changed files with 10 additions and 1 deletions

View file

@ -221,3 +221,10 @@ service vendor.nv_mac /vendor/bin/nv_mac
user system user system
group system inet net_admin wifi net_raw group system inet net_admin wifi net_raw
oneshot oneshot
service citsensor-hal-1-1 /vendor/bin/hw/vendor.xiaomi.hardware.citsensorservice@1.1-service
class late_start
user system
group system input
override
task_profiles ServiceCapacityLow

View file

@ -173,17 +173,19 @@ debug.egl.hw=0
debug.mdpcomp.logs=0 debug.mdpcomp.logs=0
debug.sf.disable_client_composition_cache=1 debug.sf.disable_client_composition_cache=1
debug.sf.enable_advanced_sf_phase_offset=1 debug.sf.enable_advanced_sf_phase_offset=1
debug.sf.enable_gl_backpressure=1 debug.sf.enable_gl_backpressure=0
debug.sf.high_fps_early_gl_phase_offset_ns=-4000000 debug.sf.high_fps_early_gl_phase_offset_ns=-4000000
debug.sf.high_fps_early_phase_offset_ns=-4000000 debug.sf.high_fps_early_phase_offset_ns=-4000000
debug.sf.high_fps_late_app_phase_offset_ns=1000000 debug.sf.high_fps_late_app_phase_offset_ns=1000000
debug.sf.high_fps_late_sf_phase_offset_ns=-4000000 debug.sf.high_fps_late_sf_phase_offset_ns=-4000000
debug.sf.hw=0 debug.sf.hw=0
debug.sf.latch_unsignaled=1 debug.sf.latch_unsignaled=1
debug.sf.predict_hwc_composition_strategy=0
debug.sf.set_idle_timer_ms=3000 debug.sf.set_idle_timer_ms=3000
persist.sys.sf.color_mode=9 persist.sys.sf.color_mode=9
persist.sys.sf.color_saturation=1.0 persist.sys.sf.color_saturation=1.0
persist.sys.sf.native_mode=2 persist.sys.sf.native_mode=2
debug.sf.treat_170m_as_sRGB=1
ro.hardware.egl=adreno ro.hardware.egl=adreno
ro.hardware.vulkan=adreno ro.hardware.vulkan=adreno
ro.opengles.version=196610 ro.opengles.version=196610