提交图

2084 次代码提交

作者 SHA1 备注 提交日期
Savita Patted
4b35b37f50 Merge "msm: camera: cpas: Disable ICP QoS registers for kalama" into camera-kernel.lnx.5.0 2021-11-05 18:41:54 -07:00
Savita Patted
b8e7311b43 Merge "msm: camera: common: Add path for ubwc and linear" into camera-kernel.lnx.5.0 2021-11-05 18:41:45 -07:00
Savita Patted
7a41caaa1b Merge "msm: camera: smmu: Moves custom smmu API's to cam_compat" into camera-kernel.lnx.5.0 2021-11-05 18:41:18 -07:00
Savita Patted
869991d193 Merge "msm: camera: common: Remove return from debugfs_create_bool" into camera-kernel.lnx.5.0 2021-11-05 18:38:15 -07:00
Savita Patted
fd8920f5b8 Merge "msm: camera: mem_mgr: Add dma_buf_vmap to cam_compat" into camera-kernel.lnx.5.0 2021-11-05 18:37:52 -07:00
Savita Patted
be5c2963cc Merge "msm: camera: custom: Move include to cam_compat" into camera-kernel.lnx.5.0 2021-11-05 18:31:13 -07:00
Savita Patted
2360e333b9 Merge "msm: camera: req_mgr: Update list_head to const" into camera-kernel.lnx.5.0 2021-11-05 18:23:02 -07:00
Savita Patted
27f0bb1140 Merge "msm: camera: common: DDR type selection deprecation" into camera-kernel.lnx.5.0 2021-11-05 18:21:06 -07:00
Savita Patted
99aebe2c09 Merge "msm: camera: smmu: Add support for 36 bit address space" into camera-kernel.lnx.5.0 2021-11-05 18:11:44 -07:00
Savita Patted
8eb28b180d Merge "msm: camera: csid: correction for printing long and short packet info" into camera-kernel.lnx.5.0 2021-11-03 18:03:29 -07:00
Savita Patted
370aeb1448 Merge "msm: camera: cpas: Add support for Cape Camera" into camera-kernel.lnx.5.0 2021-11-03 18:02:59 -07:00
Savita Patted
c43ac5bd74 Merge "msm: camera: isp: Add header file VFE and CSID for Cape" into camera-kernel.lnx.5.0 2021-11-03 18:02:43 -07:00
Savita Patted
ccf76ce85e Merge "msm: camera: isp: Print additional debug info in case of csid errors" into camera-kernel.lnx.5.0 2021-11-03 17:26:21 -07:00
Savita Patted
85d33924b1 Merge "msm: camera: isp: Refactor csid get rdi format function" into camera-kernel.lnx.5.0 2021-11-03 17:26:01 -07:00
Jigar Agrawal
383aedb0a7 msm: camera: smmu: Add support for 36 bit address space
Add support for 36 bits wide smmu context bank for SM8550
target.

CRs-fixed: 3065594
Change-Id: Ib2953a3f4fe0bb9283719ce91dcef128cd63ab20
Signed-off-by: Jigar Agrawal <jigar@codeaurora.org>
2021-11-02 16:44:23 -07:00
Karthik Jayakumar
e3ac8bfd1b msm: camera: cpas: Disable ICP QoS registers for kalama
Disable cpas writing to ICP QoS registers, since they are in
ICP clock domain, which has not been enabled by the time cpas
probes to configure the registers.

CRs-Fixed: 3048249
Change-Id: Iaada5194a06408ecee69cb724eb94c6ffb7bfb95
Signed-off-by: Karthik Jayakumar <kjayakum@codeaurora.org>
2021-11-02 15:24:29 -07:00
Alok Chauhan
b08058de6f msm: camera: isp: Add header file VFE and CSID for Cape
This commit adds VFE/CSID header file changes for titan
version 680, hw version 110 hardware.

CRs-Fixed: 3063982
Change-Id: I038b1e2f0156e70874ec941b7d34df6853d4ddd7
Signed-off-by: Alok Chauhan <alokc@codeaurora.org>
2021-11-01 21:34:00 -07:00
Alok Chauhan
ca7336742c msm: camera: cpas: Add support for Cape Camera
Cape has different version of CPAS version which
requires camnoc interface changes and CPAS version
change. This change adds the same.

CRs-Fixed: 3063982
Change-Id: Iaca2f12954cc12224da6c8cdb2ee76f2b14aca0b
Signed-off-by: Alok Chauhan <quic_alokc@quicinc.com>
2021-11-01 21:33:30 -07:00
Savita Patted
b06c540564 Merge "msm: camera: cdm: Fix incorrect condition in cdm code" into camera-kernel.lnx.5.0 2021-11-01 19:58:39 -07:00
Savita Patted
16474f0533 Merge "msm: camera: cdm: handle dead lock scenario" into camera-kernel.lnx.5.0 2021-11-01 19:21:14 -07:00
Savita Patted
ee09580940 Merge "msm: camera: isp: Add YUV format as supported format" into camera-kernel.lnx.5.0 2021-11-01 19:20:59 -07:00
Ridhi Shah
858bba3104 msm: camera: common: Add path for ubwc and linear
Add consolidated IFE path for ubwc and linear.

CRs-Fixed: 3048249
Change-Id: Idbf03c20b734e6a3ec5034ccd6450f8659e0e94f
Signed-off-by: ridhshah <ridhshah@codeaurora.org>
2021-11-01 13:15:33 -07:00
Karthik Jayakumar
6a67d57032 msm: camera: smmu: Moves custom smmu API's to cam_compat
Moves custom smmu API's to cam_compat as some of them are legacy and
will not be supported in newer kernel versions.

CRs-Fixed: 3048249
Change-Id: Ic9db5d9d295eb02e8bd2d593721b65e30d605f72
Signed-off-by: Karthik Jayakumar <kjayakum@codeaurora.org>
2021-11-01 13:15:33 -07:00
Karthik Jayakumar
9716446091 msm: camera: common: Remove return from debugfs_create_bool
Remove return checks from debugfs_create_bool, as the API changed in
kernel 5.15+.

CRs-Fixed: 3048249
Change-Id: I2351776615a5fb17db1c54d285be2bf8e55443ab
Signed-off-by: Karthik Jayakumar <kjayakum@codeaurora.org>
2021-11-01 13:15:33 -07:00
Karthik Jayakumar
ee84a3df79 msm: camera: mem_mgr: Add dma_buf_vmap to cam_compat
dma_buf_vmap function signature changed between kernel version
5.10 and 5.15.

CRs-Fixed: 3048249
Change-Id: I4c8dc951cc383c3dc888fca1d0b1becf92f4662c
Signed-off-by: Karthik Jayakumar <kjayakum@codeaurora.org>
2021-11-01 13:15:33 -07:00
Karthik Jayakumar
1425e0a45e msm: camera: custom: Move include to cam_compat
Moves ion include to cam_compat since there is difference in location
between 5.10 and 5.15 kernels.

CRs-Fixed: 3048249
Change-Id: Ieb2ea976c149475ef6618fae53813c7a49b90ae0
Signed-off-by: Karthik Jayakumar <kjayakum@codeaurora.org>
2021-11-01 13:15:33 -07:00
Karthik Jayakumar
523de2982c msm: camera: req_mgr: Update list_head to const
Starting with kernel 5.14+ callbacks using list_head structs need to
be const qualified.

CRs-Fixed: 3048249
Change-Id: I80611317b5a69fee8bb0901697d8a6df1bd4aab8
Signed-off-by: Karthik Jayakumar <kjayakum@codeaurora.org>
2021-11-01 13:15:33 -07:00
Karthik Jayakumar
ed82a7cc9c msm: camera: common: DDR type selection deprecation
Deprecates legacy api of_fdt_get_ddrtype() as new targets only have
LPDDR5 for platforms that support linux kernel 5.15 and newer.

CRs-Fixed: 3048249
Change-Id: I8e7f3274eadc597870118956b964fb87d69549ee
Signed-off-by: Karthik Jayakumar <kjayakum@codeaurora.org>
2021-11-01 13:15:33 -07:00
Pengfei Liu
b979108fc5 msm: camera: csid: correction for printing long and short packet info
Print long and short packet infor with wrong mask, and also shift
correct bits value for all values.

Change-Id: I3596a059b7266cb53faa51699f7712ff3baaec9f
CRs-Fixed: 3066821
Signed-off-by: Pengfei Liu <pengfeiliu@codeaurora.org>
2021-11-01 15:05:23 +08:00
Gaurav Jindal
98c34429e5 msm: camera: isp: Refactor csid get rdi format function
Current implementaton of cam_ife_csid_get_format_rdi has many nested
switch cases. In new targets, there is a requirement of having
unpacked data from CSID even if it supports packing. Modifications
in current function adds more if-else conditions.
To fix this problem and make the function simplified, this commit
modifies the cam_ife_csid_get_format_rdi function to compute the
incoming and outgoing programmable values separately. This commit
also adds one util function to validate the incoming and out format
combinations.

CRs-Fixed: 2948116
Change-Id: I06b93148d96bc7ec2b7b31a561297588f2786b08
Signed-off-by: Gaurav Jindal <gjindal@codeaurora.org>
2021-10-29 13:46:23 +05:30
Chandan Kumar Jha
4bf52a5ab2 msm: camera: isp: Print additional debug info in case of csid errors
We are moving CSID error type and error handler from csid driver
to target header file.

This commit prints additional debug information in case of MUP
mismatch and line buffer conflict CSID errors.

CRs-Fixed: 2948116
Change-Id: I46e7e8cb49a94c649862c35f7da009c86df60cc6
Signed-off-by: Chandan Kumar Jha <cjha@codeaurora.org>
2021-10-28 21:51:51 -07:00
Savita Patted
3634a75a4e Merge "msm: camera: isp: Additional fixes for KMD internal recovery" into camera-kernel.lnx.5.0 2021-10-28 18:13:25 -07:00
Savita Patted
9e3ac2d345 Merge "msm: camera: isp: Force all IFE lite RDIs to line based" into camera-kernel.lnx.5.0 2021-10-28 18:12:59 -07:00
Jigar Agrawal
6c9d86d45f msm: camera: cdm: Fix incorrect condition in cdm code
Fix the incorrect condition in the cdm code and also
remove cdm debug register dump from ife_hw_mgr_config
function to avoid the duplication of the dump with the
one being printed from cdm workqueue.

CRs-fixed: 3064926
Change-Id: Idd5938030d4f9737e5ab3301d08dd221b25a54ea
Signed-off-by: Jigar Agrawal <jigar@codeaurora.org>
2021-10-27 23:51:24 -07:00
Depeng Shao
7c70771d09 msm: camera: isp: Add YUV format as supported format
Add YUV format as supported format.

CRs-Fixed: 3064195
Change-Id: I2474cfc21b35b971b2051c2f9dc53d94d453fe70
Signed-off-by: Depeng Shao <depengs@codeaurora.org>
2021-10-27 03:48:18 -07:00
Savita Patted
2136c63c8c Merge "msm: camera: isp: Add new CDM BL Type" into camera-kernel.lnx.5.0 2021-10-26 20:46:02 -07:00
Savita Patted
7db7eaf7a5 Merge "msm: camera: common: Update the ctx memory request logic" into camera-kernel.lnx.5.0 2021-10-26 20:45:40 -07:00
Savita Patted
3b0b13be8c Merge "msm: camera: icp: send freq to ICP firmware" into camera-kernel.lnx.5.0 2021-10-26 20:45:24 -07:00
Savita Patted
37f280a2aa Merge "msm: camera: isp: Rearrange the rt-wrapper-base property" into camera-kernel.lnx.5.0 2021-10-26 20:44:59 -07:00
Savita Patted
0e9693d40b Merge "msm: camera: isp: Add SOF Retiming Disable Support" into camera-kernel.lnx.5.0 2021-10-26 20:44:38 -07:00
Savita Patted
f3ddf750bc Merge "msm: camera: isp: Handle error event notification to HW manager" into camera-kernel.lnx.5.0 2021-10-26 20:44:20 -07:00
Savita Patted
0b21e478f6 Merge "msm: camera: sensor: Remove NULL set for regulator phandle" into camera-kernel.lnx.5.0 2021-10-26 20:43:10 -07:00
Karthik Anantha Ram
b8d7acab13 msm: camera: isp: Force all IFE lite RDIs to line based
Change mode of all LITE RDI WMs to line based mode to account for
SFE ZSL RAW 80 byte stride alignment. This change is to make
it generic for all RAW outputs. If the mode needs to be made
frame based, userland will override it. The change also
updates mipi pack property in CSID LITE header.

CRs-Fixed: 3032597
Change-Id: Id3bc7686adae33506d1ffced73fef16776f4e28c
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
2021-10-25 23:08:25 -07:00
Karthik Anantha Ram
fa319fa819 msm: camera: isp: Additional fixes for KMD internal recovery
Avoid programming RUP/AUP at CSID start for internal recovery.
The request being recovered will configure this appropriately via CDM.
Also avoid resetting epoch factor for IFE PIX resource at stream off
that is triggered internally, the UMD configured epoch factor is
needed to stream on again post recovery.

CRs-Fixed: 3045706
Change-Id: I865ad0c2c08330a29eacfea63b4e15892a84bd69
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
2021-10-25 23:04:34 -07:00
Camera Software Integration
7776878e06 Merge "msm: camera: isp: Update right out resource for PDAF parsed outport" into camera-kernel.lnx.5.0 2021-10-25 18:58:12 -07:00
Camera Software Integration
ef22f52003 Merge "msm: camera: csid: Fix excessive logging in CSID" into camera-kernel.lnx.5.0 2021-10-25 18:58:02 -07:00
Camera Software Integration
348517c727 Merge "msm: camera: cdm: Fix cdm bl submit function" into camera-kernel.lnx.5.0 2021-10-25 18:57:53 -07:00
Vikram Sharma
0f54afd904 msm: camera: cdm: handle dead lock scenario
This change handles a race condition in which cdm workqueue is
scheduled on one of the cores and cdm flush is executing on
another core. We come across a dead lock between fifo_lock and
hw_mutex lock.

CRs-Fixed: 3049531
Change-Id: Ie0b8982a7e55218fc5655f8e3d08a952fd852ed7
Signed-off-by: Vikram Sharma <vikramsa@codeaurora.org>
2021-10-24 21:40:04 -07:00
Jigarkumar Zala
218814c4de msm: camera: sensor: Remove NULL set for regulator phandle
Regulator_get is being moved with probe time for opertional
performance improvement. With this change regualtor phandle can
only be derive at power cycle. In case of power_on/down failure case
currently regulator phandle is set with NULL which can cause
failure in power related operation in all future sessions. This change
removes NULL setting to regulator phandle in failure case.

CRs-Fixed: 3052638
Change-Id: I4abec311416e852bbe1922024b05755e2b3a3d25
Signed-off-by: Jigarkumar Zala <jzala@codeaurora.org>
2021-10-22 19:14:09 -07:00
Jigar Agrawal
132e366145 msm: camera: isp: Rearrange the rt-wrapper-base property
Rearrange the rt-wrapper property in order to
not request for the ioremap for the rt-wrapper region
unnecessarily and also to make the code more general
for upcoming targets.

CRs-Fixed: 3060818
Change-Id: I45da335c1e1c372229388350612f659720326066
Signed-off-by: Jigar Agrawal <jigar@codeaurora.org>
2021-10-22 18:08:29 -07:00