TheKit
f13e1f4e3e
Import F(x)tec Pro1-X BSP kernel changes as of 2022-06-01
2022-06-13 23:51:22 +03:00
TheKit
1d86f7ae7b
Import Pro1-X kernel source code
2022-03-20 00:13:44 +01:00
Gagan Malvi
5264660de5
msm: vidc: Disable debugfs not created logspam.
...
Signed-off-by: Gagan Malvi <malvigagan@gmail.com>
2021-08-26 15:09:06 +02:00
spakkkk
6ea03ed65e
techpack: video: remove log spam
...
Signed-off-by: Carlos Ayrton Lopez Arroyo <15030201@itcelaya.edu.mx>
2021-08-23 17:41:31 +02:00
Adam W. Willis
148498b964
treewide: Fix pointer-to-(int|enum)-cast warnings detected by Clang.
...
This silences the following compilation warnings:
../techpack/video/msm/vidc/hfi_iris2.c:170:3: warning: cast to smaller integer type 'u32' (aka 'unsigned int') from 'u8 *' (aka 'unsigned char *') [-Wpointer-to-int-cast]
(u32)device->iface_q_table.align_virtual_addr, sid);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/misc/qseecom.c:3723:28: warning: cast to smaller integer type 'uint32_t' (aka 'unsigned int') from 'void *' [-Wvoid-pointer-to-int-cast]
send_data_req.req_ptr = (uint32_t)req->cmd_req_buf;
^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/misc/qseecom.c:3724:28: warning: cast to smaller integer type 'uint32_t' (aka 'unsigned int') from 'void *' [-Wvoid-pointer-to-int-cast]
send_data_req.rsp_ptr = (uint32_t)req->resp_buf;
^~~~~~~~~~~~~~~~~~~~~~~
../drivers/perf/qcom_llcc_pmu.c:258:17: warning: cast to smaller integer type 'enum llcc_pmu_version' from 'const void *' [-Wvoid-pointer-to-enum-cast]
llccpmu->ver = (enum llcc_pmu_version)
^~~~~~~~~~~~~~~~~~~~~~~
../drivers/power/supply/qcom/qpnp-qg.c:5110:21: warning: cast to smaller integer type 'u8' (aka 'unsigned char') from 'const void *' [-Wvoid-pointer-to-int-cast]
chip->qg_version = (u8)of_device_get_match_data(&pdev->dev);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/platform/msm/ipa/ipa_v3/ipa_debugfs.c:821:24: warning: cast to smaller integer type 'enum ipa_ip_type' from 'void *' [-Wvoid-pointer-to-enum-cast]
enum ipa_ip_type ip = (enum ipa_ip_type)file->private_data;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/platform/msm/ipa/ipa_v3/ipa_debugfs.c:918:24: warning: cast to smaller integer type 'enum ipa_ip_type' from 'void *' [-Wvoid-pointer-to-enum-cast]
enum ipa_ip_type ip = (enum ipa_ip_type)file->private_data;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/platform/msm/ipa/ipa_v3/ipa_debugfs.c:1086:24: warning: cast to smaller integer type 'enum ipa_ip_type' from 'void *' [-Wvoid-pointer-to-enum-cast]
enum ipa_ip_type ip = (enum ipa_ip_type)file->private_data;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/platform/msm/ipa/ipa_v3/ipa_debugfs.c:1157:24: warning: cast to smaller integer type 'enum ipa_ip_type' from 'void *' [-Wvoid-pointer-to-enum-cast]
enum ipa_ip_type ip = (enum ipa_ip_type)file->private_data;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/platform/msm/ipa/ipa_v3/ipahal/ipahal_hw_stats.c:228:12: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
int num = (int)(params);
^~~~~~~~~~~~~
../drivers/staging/qcacld-3.0/core/sap/src/sap_fsm.c:1552:26: warning: cast to smaller integer type 'eSapStatus' from 'void *' [-Wvoid-pointer-to-enum-cast]
bss_complete->status = (eSapStatus) context;
^~~~~~~~~~~~~~~~~~~~
../drivers/staging/qcacld-3.0/core/sap/src/sap_fsm.c:1571:4: warning: cast to smaller integer type 'eSapStatus' from 'void *' [-Wvoid-pointer-to-enum-cast]
(eSapStatus) context;
^~~~~~~~~~~~~~~~~~~~
../drivers/staging/qcacld-3.0/core/sap/src/sap_fsm.c:1575:4: warning: cast to smaller integer type 'eSapStatus' from 'void *' [-Wvoid-pointer-to-enum-cast]
(eSapStatus)context);
^~~~~~~~~~~~~~~~~~~
../drivers/staging/qcacld-3.0/core/sap/src/sap_fsm.c:1580:30: warning: cast to smaller integer type 'eSapStatus' from 'void *' [-Wvoid-pointer-to-enum-cast]
if (eSAP_STATUS_SUCCESS == (eSapStatus)context) {
^~~~~~~~~~~~~~~~~~~
../drivers/staging/qcacld-3.0/core/sap/src/sap_fsm.c:1588:37: warning: cast to smaller integer type 'eSapStatus' from 'void *' [-Wvoid-pointer-to-enum-cast]
} else if (eSAP_STATUS_FAILURE == (eSapStatus)context) {
^~~~~~~~~~~~~~~~~~~
../drivers/staging/qcacld-3.0/core/sap/src/sap_fsm.c:1596:4: warning: cast to smaller integer type 'eSapStatus' from 'void *' [-Wvoid-pointer-to-enum-cast]
(eSapStatus) context;
^~~~~~~~~~~~~~~~~~~~
../drivers/staging/qcacld-3.0/core/sap/src/sap_fsm.c:1671:30: warning: cast to smaller integer type 'eSapStatus' from 'void *' [-Wvoid-pointer-to-enum-cast]
reassoc_complete->status = (eSapStatus) context;
^~~~~~~~~~~~~~~~~~~~
../drivers/staging/qcacld-3.0/core/sap/src/sap_fsm.c:1715:27: warning: cast to smaller integer type 'eSapStatus' from 'void *' [-Wvoid-pointer-to-enum-cast]
disassoc_comp->status = (eSapStatus) context;
^~~~~~~~~~~~~~~~~~~~
../drivers/staging/qcacld-3.0/core/sap/src/sap_fsm.c:1733:26: warning: cast to smaller integer type 'eSapStatus' from 'void *' [-Wvoid-pointer-to-enum-cast]
key_complete->status = (eSapStatus) context;
^~~~~~~~~~~~~~~~~~~~
../drivers/staging/qcacld-3.0/core/sap/src/sap_fsm.c:1783:4: warning: cast to smaller integer type 'eSapStatus' from 'void *' [-Wvoid-pointer-to-enum-cast]
(eSapStatus) context;
^~~~~~~~~~~~~~~~~~~~
../drivers/staging/qcacld-3.0/core/sap/src/sap_fsm.c:1789:4: warning: cast to smaller integer type 'eSapStatus' from 'void *' [-Wvoid-pointer-to-enum-cast]
(eSapStatus) context;
^~~~~~~~~~~~~~~~~~~~
../drivers/staging/qcacld-3.0/../qca-wifi-host-cmn/hif/src/hif_napi.c:590:15: warning: cast to smaller integer type 'enum qca_napi_tput_state' from 'void *' [-Wvoid-pointer-to-enum-cast]
tput_mode = (enum qca_napi_tput_state)data;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/staging/qcacld-3.0/../qca-wifi-host-cmn/hif/src/hif_irq_affinity.c:148:15: warning: cast to smaller integer type 'enum qca_napi_tput_state' from 'void *' [-Wvoid-pointer-to-enum-cast]
tput_mode = (enum qca_napi_tput_state)data;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Adam W. Willis <return.of.octobot@gmail.com>
Change-Id: Ia45d207fafee2c449aa4da2d941549c12b10a08d
Signed-off-by: starlight5234 <starlight5234@protonmail.ch>
2021-08-21 16:10:42 +02:00
wenchangliu
01d655f43a
techpack: video: msm: vidc: disable decode batching feature
...
This feature implemented for power optimization
with OMX but not well compliant with Codec 2.0.
Disable it to unblock VT frame drop issue.
Bug: 149071324
Test: VT frame rate test
Change-Id: I187958f4da10d5936c0f0fbd5060301e55ac7f29
Signed-off-by: Wen Chang Liu <wenchangliu@google.com>
Signed-off-by: starlight5234 <starlight5234@protonmail.ch>
2021-08-21 16:09:12 +02:00
Gagan Malvi
e3efb96bee
techpack/video: Initial merge from LA.UM.9.15.r1-02000-KAMORTA.0
...
Signed-off-by: Gagan Malvi <malvigagan@gmail.com>
2021-08-21 15:52:27 +02:00