نمودار کامیت

2307 کامیت‌ها

مولف SHA1 پیام تاریخ
Haritha Chintalapati
124c3cf6ed Merge "msm: camera: common: create a common root folder for debugfs" into camera-kernel.lnx.6.0 2022-01-04 19:02:17 -08:00
Haritha Chintalapati
84b5e0f4cb Merge "msm: camera: jpeg: Add v780 header for jpeg enc and dma" into camera-kernel.lnx.6.0 2022-01-04 19:02:05 -08:00
Haritha Chintalapati
f0de92c0aa Merge "msm: camera: isp: Handle PD and RDI resource if PIX port is not present" into camera-kernel.lnx.6.0 2022-01-04 19:01:53 -08:00
Camera Software Integration
26ed5e38ae Merge "msm: camera: icp: Trigger FW load/unload via debugfs" into camera-kernel.lnx.6.0 2021-12-23 15:56:55 -08:00
Camera Software Integration
bf5c84ec66 Merge "msm: camera: common: Add level in priority list for shutdown" into camera-kernel.lnx.6.0 2021-12-23 15:56:46 -08:00
Camera Software Integration
8caa69bd58 Merge "msm: camera: icp: Use mbn to load secure FW image" into camera-kernel.lnx.6.0 2021-12-23 15:56:36 -08:00
Camera Software Integration
7d3c727286 Merge "msm: camera: icp: Use blob to pass presil hangdump buffer info" into camera-kernel.lnx.6.0 2021-12-23 15:56:27 -08:00
Camera Software Integration
d655daf797 Merge "msm: camera: smmu: Update SMMU debug print format" into camera-kernel.lnx.6.0 2021-12-23 15:56:18 -08:00
Camera Software Integration
28e4171670 Merge "msm: camera: icp: Add err logs in failure cases" into camera-kernel.lnx.6.0 2021-12-23 15:56:07 -08:00
Camera Software Integration
c6e7d89319 Merge "msm: camera: isp: Correct the violation module ID in 780 header" into camera-kernel.lnx.6.0 2021-12-23 15:55:57 -08:00
Camera Software Integration
de4126c3a8 Merge "msm: camera: icp: hfi adaptation for presil mode" into camera-kernel.lnx.6.0 2021-12-23 15:55:47 -08:00
Camera Software Integration
706319553c Merge "msm: camera: isp: Change condition to dump SFE/IFE overflow debug info" into camera-kernel.lnx.6.0 2021-12-23 15:55:37 -08:00
Camera Software Integration
323f4060ce Merge "msm: camera: isp: Fix IRQ masks for CSID" into camera-kernel.lnx.6.0 2021-12-23 15:55:25 -08:00
Camera Software Integration
baa1de68b0 Merge "msm: camera: isp: Add util functions in acquire flow" into camera-kernel.lnx.6.0 2021-12-23 15:55:14 -08:00
Gaurav Jindal
73c115c318 msm: camera: isp: Handle PD and RDI resource if PIX port is not present
In some use-case, PD and RDI ports are only present and we need
separate state machine to handle this scenario as we don't
enable any interrupts on PPP path.

This commit handles such scenario with help of RDI only state
machine.

CRs-Fixed: 3090212
Change-Id: I42b708a11669ead1058e87f9eaa56a79e13b0474
Signed-off-by: Chandan Kumar Jha <quic_cjha@quicinc.com>
Signed-off-by: Gaurav Jindal <quic_gjindal@quicinc.com>
2021-12-23 07:38:34 +05:30
Anand Ravi
cbe499e9eb msm: camera: common: create a common root folder for debugfs
Create common root folder under debugfs root named camera at probe. Add
utility functions to create subdirectories under the common camera root.

CRs-Fixed: 3093049
Change-Id: Ia4cefb5d2263ecabf1b9d70deefa1ee624b04f07
Signed-off-by: Anand Ravi <quic_ananravi@quicinc.com>
2021-12-22 16:43:42 -08:00
Ridhi Shah
69e88523fe msm: camera: jpeg: Add v780 header for jpeg enc and dma
Add compatible string and header to support MISR
for JPEG DMA and encoder for v780.

CRs-Fixed: 3012752
Change-Id: I3f50506c20620dc46b6c5b3615887bbbc6027e36
Signed-off-by: Ridhi Shah <quic_ridhshah@quicinc.com>
2021-12-22 16:04:03 -08:00
Camera Software Integration
d123d73bc2 Merge "msm: camera: sensor: enable the compilation for flash" into camera-kernel.lnx.6.0 2021-12-22 14:42:33 -08:00
Suraj Dongre
bd411e32c9 msm: camera: icp: Use blob to pass presil hangdump buffer info
Added blob for presil hangdump containing memhandle for buffer.
Added code to copy hangdump from rumi into this buffer.

CRs-Fixed: 3042621
Change-Id: I804f34fdb251c83137c2ee5b9dd8eb082bd43bf7
Signed-off-by: Suraj Dongre <quic_sdongre@quicinc.com>
2021-12-21 12:10:41 -08:00
Karthik Anantha Ram
d7c79a8c98 msm: camera: icp: Use mbn to load secure FW image
Use .mbn as opposed to .mdt to load ICP FW image. mbn is
all the mdt segments put together which improves load time
as a whole.

CRs-Fixed: 3097673
Change-Id: I9d83fb223b1a17e6c041697d4a8fe5cf5932d5ee
Signed-off-by: Karthik Anantha Ram <quic_kartanan@quicinc.com>
2021-12-21 09:56:53 -08:00
Haritha Chintalapati
74fb569f3c Merge "msm: camera: csiphy: Add Hardware register support for Kailua" into camera-kernel.lnx.6.0 2021-12-20 19:16:00 -08:00
Haritha Chintalapati
a97ccf4ee0 Merge "msm: camera: isp: handle buf_done at apply failure from deferred list" into camera-kernel.lnx.6.0 2021-12-20 19:15:27 -08:00
Karthik Anantha Ram
03ec3b418c msm: camera: icp: Trigger FW load/unload via debugfs
Based on compilation flag CONFIG_CAM_TEST_ICP_FW_DOWNLOAD, ICP
FW load/unload sequence can be verified. This change initializes
memory manager for load and de-initializes memmgr during unload.

To trigger FW download-
adb shell "echo "load" > /sys/kernel/debug/camera_icp/icp_fw_load_unload"

FW unload -
adb shell "echo "unload" > /sys/kernel/debug/camera_icp/icp_fw_load_unload"

CONFIG_CAM_TEST_FW_DOWNLOAD needs to be set only for testing
FW loading when camera server is not enabled.

The change also adds protection for repeated memmgr init/deinit calls.

CRs-Fixed: 3097781
Change-Id: Iceb5089793313b086b9d4fc3770a87860237e741
Signed-off-by: Karthik Anantha Ram <quic_kartanan@quicinc.com>
2021-12-20 16:20:48 -08:00
Depeng Shao
425e0a8142 msm: camera: sensor: enable the compilation for flash
This change enables the compilation for flash even
though there is no pmic flash support, since the i2c
flash still needs the flash framework.

CRs-Fixed: 3095773
Change-Id: I220a38dce1cbc829e446a65c61b7b7eb6b3a1c5b
Signed-off-by: Depeng Shao <quic_depengs@quicinc.com>
2021-12-20 04:49:10 -08:00
Haritha Chintalapati
927b715d57 Merge "msm: camera: isp: Update last applied scratch configuration for sfe" into camera-kernel.lnx.6.0 2021-12-17 17:34:14 -08:00
Haritha Chintalapati
b37e07e68a Merge "msm: camera: jpeg: JPEG HW and Camnoc MISR" into camera-kernel.lnx.6.0 2021-12-17 17:32:16 -08:00
Haritha Chintalapati
6bb75238ec Merge "msm: camera: isp: Add v780 configs for BW limit and packer alignment" into camera-kernel.lnx.6.0 2021-12-17 17:32:01 -08:00
Haritha Chintalapati
f8e6f84dc1 Merge "msm: camera: cpas: Add support for Parrot Camera" into camera-kernel.lnx.6.0 2021-12-17 17:31:47 -08:00
Anand Ravi
f3e6b4172b msm: camera: isp: Fix IRQ masks for CSID
Add top IRQ status mask for IPP and change it to correct value for PPP.
Add epoch shift values for IPP. Fix private variable pointer passed for
PPP IRQ subscribe.

CRs-Fixed: 3090212
Change-Id: I3544d468f8ea69de6b814698b464503ce8fc9adf
Signed-off-by: Anand Ravi <quic_ananravi@quicinc.com>
2021-12-17 10:59:11 -08:00
Gaurav Jindal
bd160429ea msm: camera: isp: Change condition to dump SFE/IFE overflow debug info
-Corrects the condition to dump the cpas log votes
in case of bus overflows.
-Corrects the condition to dump the SFE violation modules.
-Moves RATE_LIMIT to normal logs in case of erros to avoid missing
any debug information.

CRs-Fixed: 3089589
Change-Id: I1aae0ef3c3882868c1a1b8e00d9c0c45ded576fb
Signed-off-by: Gaurav Jindal <quic_gjindal@quicinc.com>
2021-12-17 18:43:50 +05:30
Gaurav Jindal
4bc8794bf2 msm: camera: isp: Correct the violation module ID in 780 header
This commit corrects the violation module ID in vfe 780 header file.

CRs-Fixed: 3092119
Change-Id: I97c6a1c4b331d8bf4f37efd05660b1f3694f1a59
Signed-off-by: Gaurav Jindal <quic_gjindal@quicinc.com>
2021-12-17 10:05:07 +05:30
Camera Software Integration
e211e831e4 Merge "msm: camera: isp: Improve CSID debug infrastructure" into camera-kernel.lnx.6.0 2021-12-16 15:12:36 -08:00
Camera Software Integration
6aac2e2b64 Merge "msm: camera: isp: Add fuse support for QCFA binning" into camera-kernel.lnx.6.0 2021-12-16 15:12:21 -08:00
Camera Software Integration
cc53cdbd4a Merge "msm: camera: isp: Add MID for parrot" into camera-kernel.lnx.6.0 2021-12-16 15:11:43 -08:00
Jigarkumar Zala
6a520c5dfa msm: camera: csiphy: Add Hardware register support for Kailua
Add new header version 2_1_2 to support CSIPHY hardware register
programming for Kailua align with version 6.0.

CRs-Fixed: 3048249
Change-Id: I59215d07247a2476ebb39f889fb90ecce4e17be0
Signed-off-by: Jigarkumar Zala <quic_jzala@quicinc.com>
2021-12-16 09:56:50 -08:00
Dharmender Sharma
06b7b57b28 msm: camera: jpeg: JPEG HW and Camnoc MISR
Support for Camnoc MISR for JPEG DMA and Encoder.
Also added support for seprate target files.

CRs-Fixed: 3012752
Change-Id: I5e066d5d871f58073f669c01270d5b64ce16088e
Signed-off-by: Dharmender Sharma <quic_dharshar@quicinc.com>
2021-12-16 10:56:33 +05:30
Depeng Shao
271a07b9ce msm: camera: isp: Update last applied scratch configuration for sfe
In case of sHDR dynamic switch, for a frame on which we are
configuring scratch buffer, use num of exposure from the
last applied valid request as opposed to global reference of
num of exposure held by global scratch configuration. The
global reference could have been updated by a future request,
it would be incorrect to use that when that request has not
even been applied.

CRs-Fixed: 3084946
Change-Id: I2a70d0de57e2dd780aa2eecc71a6398dc1800b6c
Signed-off-by: Depeng Shao <quic_depengs@quicinc.com>
2021-12-16 11:48:47 +08:00
Camera Software Integration
8d2fe2dc4a Merge "msm: camera: isp: Add pointer check" into camera-kernel.lnx.6.0 2021-12-15 19:17:55 -08:00
Camera Software Integration
186193bb8f Merge "msm: camera: reqmgr: On bubble reset appropriate slots" into camera-kernel.lnx.6.0 2021-12-15 19:16:25 -08:00
Camera Software Integration
14e9db0bd2 Merge "msm: camera: sensor: Change return code when rejecting packet" into camera-kernel.lnx.6.0 2021-12-15 19:15:59 -08:00
Camera Software Integration
78a85091cb Merge "msm: camera: isp: Add support for bus info dump on PF" into camera-kernel.lnx.6.0 2021-12-15 19:15:44 -08:00
Camera Software Integration
db45e9dfc3 Merge "msm: camera: isp: Use UAPI resource ID for SFE bus RD" into camera-kernel.lnx.6.0 2021-12-15 19:15:23 -08:00
Camera Software Integration
d037c94f80 Merge "msm: camera: cre: compilation fixes" into camera-kernel.lnx.6.0 2021-12-15 19:15:08 -08:00
Suraj Dongre
a4899090dc msm: camera: icp: hfi adaptation for presil mode
Added pre-sil implementation of icp hfi.
Hfi functions need to modify shared queue memory shared with FW
at byte level and frequently. Hence we redirect hfi function calls
to PCHost and have queue logic running directly on PCHost.

CRs-Fixed: 2932495
Change-Id: Ib3b92f998e5836b27573a2756f94f170d2827c82
Signed-off-by: Suraj Dongre <quic_sdongre@quicinc.com>
2021-12-15 14:17:18 -08:00
Jigarkumar Zala
388718b394 msm: camera: common: Add level in priority list for shutdown
Currently sensor and csiphy has the same priority in shutdown
sequence. This is sometime calls sensor shutdown before csiphy
and with the AON usecase it is failing with CPAS related operation.
This change introducing the new enum entry for the Medium_low, which
make sure the csiphy shutdown gets call before the sensor shutdown
in order to make the operation in align with cross modules.

CRs-Fixed: 3084672
Change-Id: I40f495151392f96ac89caf8df852ed8326b79d9b
Signed-off-by: Jigarkumar Zala <quic_jzala@quicinc.com>
2021-12-15 10:56:58 -08:00
Gaurav Jindal
39a7d96dec msm: camera: isp: Add v780 configs for BW limit and packer alignment
Add configurations for BW limiter in IFE and packer alignment in
SFE headers for v780.

CRs-Fixed: 3090212
Change-Id: I24dbd540d97b721f93af82f94b43cce92fa8f0fa
Signed-off-by: Chandan Kumar Jha <quic_cjha@quicinc.com>
Signed-off-by: Gaurav Jindal <quic_gjindal@quicinc.com>
2021-12-15 21:43:04 +05:30
Tejas Prajapati
d53bfe24ff msm: camera: isp: handle buf_done at apply failure from deferred list
For RDI only context where the buf_done is handled from wait list,
if the buf_done is moved to deferred list then the bubble
recovery might fail. To make sure the bubble is processed the request
needs to be moved pending list. This change helps moving the request
from active list to pending list.

CRs-Fixed: 3079621
Change-Id: Ibb271e68ca2312cbd3d71bd64e2ed7963bf60b55
Signed-off-by: Tejas Prajapati <tpraja@codeaurora.org>
2021-12-15 02:23:07 -08:00
Alok Pandey
9dd2955dc9 msm: camera: cpas: Add support for Parrot Camera
Parrot has different version of CPAS which requires
camnoc interface changes and CPAS version change.
This change adds the same.

CRs-Fixed: 3081144
Change-Id: Icf39e12d3af8518471b093c860888df05af279b7
Signed-off-by: Alok Pandey <akumarpa@codeaurora.org>
2021-12-14 08:37:50 -08:00
Wyes Karny
f9c1142df1 msm: camera: isp: Add MID for parrot
Add MID values in parrot header files. This MID values will help to know
which port got page fault in issue time.

Depends-on: 3882570
CRs-Fixed: 3081144
Change-Id: Ic59bc58b80d172128d26f8845649825a4cb53837
Signed-off-by: Wyes Karny <wkarny@codeaurora.org>
2021-12-14 08:37:26 -08:00
Wyes Karny
99805a9e51 msm: camera: isp: Add fuse support for QCFA binning
- Add fuse support for QCFA binning. If fuse bit is set then QCFA is
  enabled then we should proceed for acquire otherwise we should fail.
- Add dt-bindings entry for CAM_CPAS_IPE_VID_OUT_8BPP_LIMIT_ENABLE
  feature.

CRs-Fixed: 3081144
Change-Id: Iaf6f1c9d9fd442ff24c36d90758aa8ee146d461f
Signed-off-by: Wyes Karny <wkarny@codeaurora.org>
2021-12-14 08:35:05 -08:00