7 Commits

Author SHA1 Message Date
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