Commit Graph

459 Commits

Author SHA1 Message Date
Sujin Panicker
005863edbf
davinci: audio-hal: Add property for timecheck timeout duration.
Timecheck timeout set to 20sec based on the property
vendor.audio.hal.boot.timeout.ms before system is ready.
It updates to default timeout of 5sec once the system
is ready.

Change-Id: I6d13eb8b8d06f279261cbcb81053f9a1389d073e
2021-04-25 14:49:59 +02:00
Purushottam Kushwaha
e307cc2650
davinci: NAN: set property 'wifi.aware.interface' to use separate interface
This CL is to set 'wifi.aware.interface' property for the targets
where separate NAN discovery interface is supported.

Change-Id: Ib892f2207a9366a5a86071fd6d3c4b37e174b08c
CRs-Fixed: 2680050
2021-04-25 14:49:54 +02:00
Arian
6c7d2472a0
davinci: Import media_codecs_c2.xml
Change-Id: I01052ad711a0df0b5c1f608ab3eec4ea8f6469aa
2021-04-25 14:49:24 +02:00
Arian
64565c7e2c
davinci: Remove unused media_codecs_vendor_audio.xml
Change-Id: I5e81b6aa4409835bae7e9c92754b3ad1a74b7cc8
2021-04-25 14:49:16 +02:00
Shrikara B
6b8f01aeb1
davinci: media: Override ccodec property in vendor
Override debug.stagefright.ccodec property to from vendor side
Without this property in vendor side, codec2 components will
be listed in GSI case, which is not desired.

CRs-fixed: 2476609
Change-Id: Ifcdd5194eafa425ed79596eb2fc06478730001b4
2020-12-30 02:02:59 +01:00
Santhosh Behara
aa65975182
davinci: media: Add and publish Codec2 HAL service
*Add 2 codec2 relates libs to PRODUCT_PACKAGES in order to copy
them to /vendor/lib/

Change-Id: I56da6b774cf0f9b9e628886d7bfe22f5ccae4258
2020-12-30 02:02:59 +01:00
Sujin Panicker
920e444481
davinci: media: Include QC OMX Codecs and fix rank of QC OMX components
Include media_codecs_vendor_audio.xml from within media_codecs.xml
and rank QC OMX SW codecs higher than C2 codecs.

Change-Id: I3c079cd778f1eb978baaf437fe9ae309dfdc8e54
2020-12-30 02:02:59 +01:00
Arian
5ba7edfe45
davinci: Bump required baseband version to 20.10.20
Change-Id: I1caf9f8a3b5e37840b84814deaebd7ef3a40b68c
2020-12-30 02:02:58 +01:00
Arian
bffe4ca0cf
davinci: Update proprietary files from 20.10.22
Change-Id: Ibaeaae488efbce21fc73ae7db14f9427806e7d66
2020-12-30 02:02:58 +01:00
Arian
cb2dea3ee2
davinci: Update public libraries from 20.10.22
Change-Id: I4e5bb1e668bde581dfec2d17536e9150e96877d4
2020-12-30 02:02:58 +01:00
Arian
160016e0f8
davinci: wifi: Update wcnss config from 20.12.10
Change-Id: I1939c2656daa7ad83647f48a95bbbe85490a9713
2020-12-30 02:02:58 +01:00
Arian
571735465a
davinci: rootdir: Update init.qcom.usb.rc from 20.10.22
Change-Id: I56697dc48c431bd9c6a13a8d0ff1bf16395cd354
2020-12-30 02:02:58 +01:00
Arian
efa81edb6a
davinci: media: Increase max resolution for m4v
Change-Id: I32aa6b15b73e1838028f0e38f523e70b90a4f1cc
2020-12-30 02:02:58 +01:00
Arian
e9a6fe51f4
davinci: media: Disable 4k and 2160p for front camera
Change-Id: Id1814746bf7fdf87af6dc7f2fcea09e704247b01
2020-12-30 02:02:58 +01:00
Arian
542d89bb26
davinci: Import media_profiles.xml from LA.UM.9.1.r1-07300-SMxxx0.0
Change-Id: Ie72e405c6139141bebe2db2b5a93ca832bdaba30
2020-12-30 02:02:58 +01:00
Arian
b4fb99e818
davinci: audio: Add handset backend
Change-Id: Ia9653281b88fb7cfff878665dec7649bf7d37735
2020-12-30 02:02:58 +01:00
Arian
588c8b5040
davinci: audio: Apply cleaned xiaomi mixer_paths changes
Change-Id: I05b46a8274b91ac0fc9c7d7ff86e0e16a54a6dab
2020-12-30 02:02:58 +01:00
Arian
bc93432e65
davinci: audio: Apply cleaned xiaomi audio platform info changes
Change-Id: I5e79f447ef05f2400a709bfe153eda33b5bf0987
2020-12-30 02:02:58 +01:00
Arian
103d331711
davinci: audio: Check out mixer paths and platform info to LA.UM.9.1.r1-07300-SMxxx0.0
Change-Id: I285c7bdadee4f7fe271a2e8b4ab4b991895f2781
2020-12-30 02:02:58 +01:00
Arian
c6d2fcb8a4
davinci: audio: Check out audio policy to LA.UM.9.1.r1-07300-SMxxx0.0
Change-Id: I621c12d3ff8ad185abd5f1277c8a13ad7aa89285
2020-12-30 02:02:58 +01:00
Arian
1cfda5e560
davinci: gps: Update GPS configs from 20.10.22
Change-Id: Id4d195f0a0af0bf870e3a4d8118b648ec06cf464
2020-12-30 02:02:58 +01:00
Arian
f2fb47a4a0
davinci: gps: Update to LA.UM.9.1.r1-06700-SMxxx0.0
Change-Id: I7441cf1b3d067969dad0ad3d57c27bb87a276189
2020-12-30 02:02:58 +01:00
Arian
e6ae9c1b27
davinci: rootdir: Update init.qcom.post_boot.sh from 20.10.22
Change-Id: I1e1405fc24d8670b096c860178f714fbbe906de1
2020-12-30 02:02:58 +01:00
Arian
b80df2fd39
davinci: Build nxp nfc 2.0 service
Change-Id: I75af5a56973c5024ab8c748b4fb27023de0ba632
2020-12-30 02:02:58 +01:00
Jyoti Kumari
45ecc28678
davinci: wlan: ini: Remove TDLS INI from ini file
Remove gEnableTDLSSupport and gEnableTDLSImplicitTrigger
from ini file

Enable this ini from driver header file

Change-Id: I6e4337615e75b5f5288bdf4e50a94f2c7ec3e0d6
CRs-Fixed: 2775227
2020-12-30 02:02:58 +01:00
Ashish Kumar Dhanotiya
43452217c3
davinci: wlan: ini: Remove TxPower2g and 5g from config file
Ini config values TxPower2g and TxPower5g are not
getting used anymore.
Remove TxPower2g and TxPower5g from WCNSS_qcom_cfg.ini
for all the targets.

Change-Id: Id85bec3e4ae3bb8012e13844bb0afa682a593fee
CRs-Fixed: 2607679
2020-12-30 02:02:58 +01:00
sheenam monga
46d0d33183
davinci: wlan: ini: Remove drop_bcn_on_chan_mismatch ini
Currently, with drop_bcn_on_chan_mismatch disable
default value of drop_bcn_on_chan_mismatch is overwritten
and abnormal rssi is observed for some beacons.
To avoid the issue remove drop_bcn_on_chan_mismatch
from ini, So that default value of drop_bcn_on_chan_mismatch
can be used.

Change-Id: I6e7ec9327a2e13d1fed73bec2fedf8b584989930
CRs-Fixed: 2588983
2020-12-30 02:02:58 +01:00
Sourav Mohapatra
6fc02dc215
davinci: wlan: ini: Disable gEnableConcurrentSTA for Android Q targets
Currently with the ini enabled, there is a issue where the random mac
address assiged to the interface is duplicated by the framework.

To avoid this, the ini gEnableConcurrentSTA is disabled.

Change-Id: I3254e2274f16c1a9af290ed50eb03c98ced23593
CRs-Fixed: 2520726
2020-12-30 02:02:58 +01:00
Vinay Gannevaram
e5b38c89c8
davinci: wlan: Enable driver param "no_rrm=1" in wpa_supplicant_overlay.conf
Enable driver param "no_rrm=1" in wpa_supplicant_overlay.conf
for all targets. Since location modules need the registration
of rrm frames, it is disabled in wpa_supplicant for all targets

CRs-Fixed: 2693388
Change-Id: I13fb4aabe4edb25d3d0cda30a16e69d6fbf35334
2020-12-30 02:02:58 +01:00
Mohammad Asaad Akram
cbae075b05
davinci: wlan: Add only certified configuration methods for wpa_supplicant
With this patch nfc interface info in wps information element is
disabled and only certified config methods are enabled.

Change-Id: Iea297426ddc078172f5c71575656c65bcada9d5f
CRs-Fixed: 2680762
2020-12-30 02:02:58 +01:00
Ayishwarya Narasimhan
2de4c01e88
davinci: config.fs: Add mapping for imsdaemon
Change-Id: I62629d99e0ace3e5cfa0bdef925e919ddd2ebe12
2020-12-30 02:02:58 +01:00
Edgar Flores
748d068ea6
davinci: config.fs: init: add AID_VENDOR_FASTRPC group for fastrpc
Add AID_VENDOR_FASTRPC group, so that fastrpc clients can be in
this group to get extra privileges on the remote subsystem, like
higher thread priority.

Change-Id: Icb8e418cfe66d696cad9d608d30f4b3f2a02bef8
2020-12-30 02:02:58 +01:00
Padmanabhan Komanduru
9a14521098
davinci: display: add libdisplayconfig.qti to product packages
Change-Id: Ic8a69bc5368f9d41c5958181ecb091e6d0d4ad05
2020-12-30 02:02:58 +01:00
Tharaga Balachandran
6cb6f214bc
davinci: gralloc: Add support for IMapper/IAllocator 4.0
* Add QtiMapper and QtiAllocator 4.0
* Implement IMapper 4.0 APIs: get, set,
  getFromBufferDescriptorInfo, flushLockedBuffer,
  rereadLockedBuffer, listSupportedMetadataTypes,
  dumpBuffer, dumpBuffers, and getReservedRegion

CRs-Fixed: 2633272
Change-Id: Ica42e485e426b366ffb41f30f1ea2cf395901356
Signed-off-by: Baldev Sahu <bsahu@codeaurora.org>
2020-12-30 02:02:58 +01:00
Tharaga Balachandran
9260cc4789
davinci: gralloc: Upgrade mapper and allocators to v3.0
CRs-Fixed: 2445393
Change-Id: I8c44ab63ca81523bb6acb75e8ae878cc7466e139
2020-12-30 02:02:57 +01:00
Mahesh Sharma
ce6a334f1d
davinci: ANT: Support new ANT stack
Add appropriate package name on the basis of
transport used on target.

Change-Id: I02163a7a50afba8c6ee6a766327b78c5df081d4e
2020-12-30 02:02:57 +01:00
Murthy Nidadavolu
384e49e226
davinci: Remove DRM Widevine and Clearkey HALs
DRM Widevine and Clearkey HAL entries moved securemsm specific
makefiles complying FR53051.

Change-Id: I5330942888f9de224175fd31123ec76b99aaa2b1
2020-12-30 02:02:57 +01:00
Can Guo
5b03779a63
davinci: rootdir: Change ownership of UFS RPMB bsg node
Change ownership of UFS RPMB bsg node so that TZ RPMB service
can open this node without root permissions.

Change-Id: I285e2ae26094677d91ad8486457af86e7aaabbb9
2020-12-30 02:02:57 +01:00
Gopal Iyer
7f24df3762
davinci: rootdir: init.qcom.rc: Tuning UFS clock scaling during boot time
Disabling UFS clock scaling during boot time helps in reducing
IO delays, which helps in reducing the total boot time.
This change will disable UFS clock scaling during early-init and
enable it back after boot completion.

Change-Id: Ib3490a8155610aea399ac2f63aa4a71bee299c6e
2020-12-30 02:02:57 +01:00
Varun Arora
105ff74f42
davinci: rootdir: init: Change sysfs control node to system:graphics
Change to system graphics from root

Change-Id: Ida479fc4fd2b442efd7f7fae79e7462a349fee17
2020-12-30 02:02:57 +01:00
Prateek Sood
cecea925c5
davinci: rootdir: init.qcom.rc: Add support for tracefs when !CONFIG_DEBUG_FS
Mount of tracefs in /sys/kernel/debug/tracing will fail when DEBUG_FS
is disabled. So, mount tracefs in /sys/kernel/tracing to still use all the
tracing abilities when CONFIG_DEBUG_FS is disabled

Change-Id: Ib37332c3f1108d7c4798717f0f009c891db72850
2020-12-30 02:02:57 +01:00
Sayali Lokhande
030be3a5f8
davinci: rootdir: init.qcom.rc: limit discard size to 128MB
This change limits discard size for UFS(sda)
to 128MB in order to avoid long IO latency.

Change-Id: Iccf6f7561abaac13bc8c35b03f696cdf56c184ee
2020-12-30 02:02:57 +01:00
Sayali Lokhande
c97c7e6a6f
davinci: rootdir: init.qcom.rc: Remove tftp and rmt_storage service definitions
This changes removes tftp and rmt storage service definitions
from main .rc file as these services are defined in respective
local .rc files.

Change-Id: Ibbd1fda31b7fd950590d6a15b7aca3bb08d84f4b
2020-12-30 02:02:57 +01:00
Sandeep Neerudu
cab75e2db6
davinci: rootdir: sensors : remove sensors specific boot up commands from init.qcom.rc
move sensors specific boot up commands from global init.qcom.rc to component

specific rc files , which are part of individual component projects.

Change-Id: Ib0410cd0af8d77573bd320063982b504b1b1d1d5
2020-12-30 02:02:57 +01:00
Subbaraman Narayanamurthy
8ebb78dac5
davinci: rootdir: init.qcom.rc: add CAP_SYS_BOOT for charger
Add CAP_SYS_BOOT capability for charger service so that it can
shutdown/reboot the system.

Change-Id: I17ccba74d5a3c38bd751c55bcf42fb3689d730a7
2020-12-30 02:02:57 +01:00
Jun-Hyung Kwon
f064c2991c
davinci: rootdir: init.qcom.rc: add wakelock and BLOCK_SUSPEND to vendor.sensors
add wakelock group and BLOCK_SuSPEND capabilities to vendor.sensors
to acess wake-lock sysfs nodes

Change-Id: I193836d097f15f5bfbe1645909ae70f3f870f972
2020-12-30 02:02:57 +01:00
Subbaraman Narayanamurthy
a9303bcee9
davinci: rootdir: init.qcom.rc: Change user/group permission for for charger
Make charger binary run as system instead of root. Since it
needs to handle input key events, add input as a supplemental
group in addition to system and graphics.

Change-Id: Id1dc46f335087147b7d8cf674664c26f0b511de1
2020-12-30 02:02:57 +01:00
Prerna Kalla
ed256498c6
davinci: rootdir: Support ufs and emmc variant fstab files
Two fstabs are needed to support different data unit
number (dun) size for ufs and emmc hardwares. This
needs different encryption flag in fstab to address
the difference in dun size.

Change-Id: Ifb0e9132fc91e3281401ac49ad70c695a22c9df5
2020-12-30 02:02:57 +01:00
Murtuza Raja
127e73c325
davinci: Add support for qva and generic manifest in sm6150
Change-Id: I17716667606941e5e56c0da2206b7ae72d31b855
Signed-off-by: Arian <arian.kulmer@web.de>
2020-12-30 02:02:57 +01:00
Yingjie Wang
1062f68607
davinci: Remove gnss hidl entries in manifest.xml
Remove all vendor.qti.gnss and android.hardware.gnss
entries in manifest.xml, since these manifest fragments
are moved to gps git projects.

Change-Id: Ieb3b0b4244ff075ba254d2e3ad1209c92fd3a4d6
CRs-fixed: 2548467
2020-12-30 02:02:57 +01:00