12 Commits

Author SHA1 Message Date
Hazari PraveenKumar
ffd61c0fb5 sm6250-common: Disable VSync for CPU rendered apps
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.

Change-Id: I93cfa7c588f1ab80803940c8059073075fd49506
Signed-off-by: Akash <akashniki@gmail.com>
Signed-off-by: DarkDampSquib <andrin.geiger1998@gmail.com>
2020-10-21 21:16:14 +03:00
David Sehr
65dd6eb54b sm6250-common: Use dex2oat64
Enable dex2oat64 use.

Bug: 153380900
Test: boot and install an application
Change-Id: I3e7a6e6e9385ff6564d1a2e6dda004ebb061f095
(cherry picked from commit 126f03be80f57a8a0411842011152d9381589b78)
Merged-In: I3e7a6e6e9385ff6564d1a2e6dda004ebb061f095
2020-10-21 21:15:55 +03:00
kerneltoast
9be8f7a845 sm6250-common: force tripple frame buffers 2020-10-11 13:16:27 +00:00
Gil
e2f8f06f05 sm6250-common: Enable adaptive color mode
Enable Adaptive color mode setting.

Bug: 143513730
Test: Boot test and measure the adaptive color value

Change-Id: I969ec6c3cb1d092a33c0e3a028ff38ad7115dfe2
2020-10-11 13:16:27 +00:00
Minchan Kim
b5823f8387 sm6250-common: Enable zram writeback job scheduler
Bug: 140882488
Change-Id: I9deffcbe25474837d5167024297d06601530aae5
Signed-off-by: Minchan Kim <minchan@google.com>
2020-10-11 13:16:27 +00:00
tangrobin
17a98a1ad4 sm6250-common: Refined early phase offsets
GPU takes long time(>8ms) when app was launching and closing.
This may because GPU is handling some heavy task like color conversion.
By setting NegativeOffset as 5ms to allow SF have more time to handle
when doing animation transaction and shift back 5ms with
early_app_phase_offset_ns such that app still has the same amount of
time to handle each frame.

Test: 1. Open Chrome from homescreen
      2. Swipe vertically to go back to home screen
      3. Measure the gpu completion time and "FrameMissed" count from systrace result
Bug: 147339695

Change-Id: I157cb11e8ed8c1ca296fc65612752fbb3d985dcd
2020-08-31 14:29:09 +03:00
Jorim Jaggi
3e293a8a22 sm6250-common: Refined early SF configuration for WCG
Test: Use photos, observe no jank
Bug: 110112323
Change-Id: Ib331d0b792ee1790963159a17ec24f36b4a1882a
Merged-In: Ib331d0b792ee1790963159a17ec24f36b4a1882a
2020-08-31 14:29:09 +03:00
Jorim Jaggi
6ae38a9e08 sm6250-common: Enable early phase offsets
Since we frequently hit GL composition during transitions, it
makes sense to enable early phase offsets on crosshatch.

Test: Open apps, observe no jank
Bug: 79173695
Change-Id: Ie44b116b1a4f2c8fde1ba4decbbc6e3316686a5d
2020-08-31 14:29:09 +03:00
Sultanxda
bb62324795 sm6250-common: Disable AUDIO_FEATURE_ENABLED_KPI_OPTIMIZE
We're not using perfd so this is useless.

Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@gmail.com>
Change-Id: I3b436f3f747c6955335513a133da81d27a6fbf60
2020-08-31 11:14:31 +03:00
Demon000
e9365a682c sm6250-common: add display props 2020-07-16 18:27:33 +03:00
Demon000
cd3781c8be sm6250-common: define vendor properties
Unused:
av.offload.enable=true
bt.max.hfpclient.connections=1
debug.egl.hw=0 # used to be surfaceflinger props in fw/base, (fw/native) but are since long gone
debug.mdpcomp.logs=0 # defaults to NULL if not set, having the same effect as '0
debug.sf.hw=0 # used to be used in gralloc, but not present in sm8150 display HAL
dev.pm.dyn_samplingrate=1
media.aac_51_output_enabled=true
mmp.enable.3g2=true
persist.debug.coresight.config=stm-events
persist.fuse_sdcard=true
persist.mm.enable.prefetch=true
persist.rild.nitz_long_ons_0=
persist.rild.nitz_long_ons_1=
persist.rild.nitz_long_ons_2=
persist.rild.nitz_long_ons_3=
persist.rild.nitz_plmn=
persist.rild.nitz_short_ons_0=
persist.rild.nitz_short_ons_1=
persist.rild.nitz_short_ons_2=
persist.rild.nitz_short_ons_3=
persist.timed.enable=true
persist.vendor.max.brightness=455
persist.vendor.qcomsysd.enabled=1 # controls qcom-system-daemon start but qcom-systeam-daemon binary doesn't exist
qcom.hw.aac.encoder=true
rild.libpath=/vendor/lib64/libril-qc-hal-qmi.so # unsed because we use vendor ril daemon
ro.hwui.drop_shadow_cache_size=6
ro.hwui.gradient_cache_size=1
ro.hwui.layer_cache_size=48
ro.hwui.path_cache_size=32
ro.hwui.r_buffer_cache_size=8
ro.hwui.text_large_cache_height=1024
ro.hwui.text_large_cache_width=2048
ro.hwui.text_small_cache_height=1024
ro.hwui.text_small_cache_width=1024
ro.hwui.texture_cache_flushrate=0.4
ro.hwui.texture_cache_size=72
tunnel.audio.encode=true
use.voice.path.for.pcm.voip=true
sys.vendor.shutdown.waittime=500

Used on MIUI only:
persist.audio.button_jack.profile=volume
persist.audio.button_jack.switch=0
persist.backup.ntpServer=0.pool.ntp.org
persist.demo.hdmirotationlock=false
persist.sys.mcd_config_file=/system/etc/mcd_default.conf
ro.config.alarm_alert=Alarm_Classic.ogg
ro.config.notification_sound=pixiedust.ogg
ro.config.ringtone=Ring_Synth_04.ogg
ro.vendor.audio.sos=true
ro.vendor.audio.voice.volume.boost=manual
sys.haptic.down.normal=2
sys.haptic.down.strong=5
sys.haptic.down.weak=0
sys.haptic.down=5,2
sys.haptic.flick.light=5,2
sys.haptic.flick=5,2
sys.haptic.hold=6,0
sys.haptic.long.press=0,1
sys.haptic.mesh.heavy=8,2
sys.haptic.mesh.light=5,1
sys.haptic.mesh.normal=8,2
sys.haptic.motor=linear
sys.haptic.pickup=0,2
sys.haptic.popup.light=6,1
sys.haptic.popup.normal=6,2
sys.haptic.runin=13
sys.haptic.scroll.edge=5,0
sys.haptic.switch=9,2
sys.haptic.tap.light=5,2
sys.haptic.tap.normal=3,2
sys.haptic.trigger.drawer=2,0
ro.miui.notch=1
ro.nfc.port=I2C
ro.qc.sdk.audio.ssr=false
ro.vendor.type=eSE,HCE,UICC
sys.qca1530=detect
sys.thermal.data.path=/data/vendor/thermal/

Used but make no sense:
qemu.hw.mainkeys=0
ro.carrier=unknown
ro.com.android.dataroaming=false
ro.kernel.qemu.gles=0

Set from BoardConfig:
ro.apex.updatable=true
ro.board.platform=atoll
ro.boot.dynamic_partitions=true

Set by build system:
ro.bootimage.build.date.utc=1583779344
ro.bootimage.build.date=Tue Mar 10 02:42:24 CST 2020
ro.bootimage.build.fingerprint=Redmi/curtana/curtana:10/QKQ1.191215.002/V11.0.4.0.QJWINXM:user/release-keys
ro.hwui.use_vulkan=
ro.product.board=curtana
ro.product.first_api_level=29
ro.product.vendor.brand=Redmi
ro.product.vendor.device=curtana
ro.product.vendor.manufacturer=Xiaomi
ro.product.vendor.model=Redmi Note 9 Pro
ro.product.vendor.name=curtana
ro.vendor.build.date.utc=1583779344
ro.vendor.build.date=Tue Mar 10 02:42:24 CST 2020
ro.vendor.build.fingerprint=Redmi/curtana/curtana:10/QKQ1.191215.002/V11.0.4.0.QJWINXM:user/release-keys
ro.vendor.build.id=QKQ1.191215.002
ro.vendor.build.security_patch=2020-02-01
ro.vendor.build.tags=release-keys
ro.vendor.build.type=user
ro.vendor.build.version.incremental=V11.0.4.0.QJWINXM
ro.vendor.build.version.release=10
ro.vendor.build.version.sdk=29
ro.vendor.product.cpu.abilist32=armeabi-v7a,armeabi
ro.vendor.product.cpu.abilist64=arm64-v8a
ro.vendor.product.cpu.abilist=arm64-v8a,armeabi-v7a,armeabi

Set from init:
dalvik.vm.heapmaxfree=8m
dalvik.vm.heapminfree=512k
dalvik.vm.heapsize=36m
dalvik.vm.heapsize=512m
dalvik.vm.heapstartsize=8m
dalvik.vm.heaptargetutilization=0.75

Most of those are unused, some of them are set via BoardConfig rules.
2020-07-15 23:03:28 +03:00
Demon000
db8ed7dc9c sm6250-common: create dummy property files 2020-07-15 23:03:28 +03:00