IRQ line verification can now be triggerred from JPEG HW manager by
writing to a debugfs file as follows:
echo 1 > /d/camera/jpeg/test_irq_line
IRQ line verification can also be done at probe if
CONFIG_CAM_TEST_IRQ_LINE_AT_PROBE is set to true during compilation.
Both debugfs and probe-time verifications are only active if
CONFIG_CAM_TEST_IRQ_LINE is set to true during compilation.
CRs-Fixed: 3071027
Change-Id: Ib24022a12e3aa3ac529c7bc925fd4df1f2a96310
Signed-off-by: Anand Ravi <quic_ananravi@quicinc.com>
IRQ line verification can now be triggerred from ICP HW manager by
writing to a debugfs file as follows:
echo 1 > /d/camera/icp/test_irq_line
IRQ line verification can also be done at probe if
CONFIG_CAM_TEST_IRQ_LINE_AT_PROBE is set to true during compilation.
Both debugfs and probe-time verifications are only active if
CONFIG_CAM_TEST_IRQ_LINE is set to true during compilation.
CRs-Fixed: 3071027
Change-Id: I386548d1ed817674be8322c8be792e2c57f9d166
Signed-off-by: Anand Ravi <quic_ananravi@quicinc.com>
Sometimes, all the buf dones of bubble req have been
received, but they are deferred buf done. If we handle
the deferred buf done before moving the req to active
list, the req will be moved to pending list first during
processing the buf done of bubble req, then moved to
active req list in the processing of epoch_in_applied.
This change moves the bubble req to active list first,
then handle the deferred buffer done.
CRs-Fixed: 3096361
Change-Id: I1e9b1ba5a46509b1c08ec92bbca0c2d7fbde679c
Signed-off-by: Depeng Shao <quic_depengs@quicinc.com>
Trigger cdm reset to test irq line on presil platforms.
Use below command to trigger after boot up.
echo 1 > /d/camera/cdm/test_irq_line
IRQ line verification can also be done at bootup if
CONFIG_CAM_TEST_IRQ_LINE_AT_PROBE is defined during
compilation.
Both above are valid if CONFIG_CAM_TEST_IRQ_LINE is
enabled during compilation.
CRs-Fixed: 3071027
Change-Id: I9e8c559cd954dfdcfc9b536366e622a03efe1672
Signed-off-by: Pavan Kumar Chilamkurthi <quic_pchilamk@quicinc.com>
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>
This commit adds debug logs with the read values of hardware versions
of individual hardware components of IFE, SFE and CSID as part of
hardware initialization.
CRs-Fixed: 3071027
Change-Id: I11f4c31ffec2d3d1dc78712c22b85df09691addb
Signed-off-by: Anand Ravi <quic_ananravi@quicinc.com>
IRQ line verification can now be triggerred from IFE HW manager by
writing to a debugfs file as follows:
echo 1 > /d/camera/ife/test_irq_line
IRQ line verification can also be done at probe if
CONFIG_CAM_TEST_IRQ_LINE_AT_PROBE is set to true during compilation.
Both debugfs and probe-time verifications are only active if
CONFIG_CAM_TEST_IRQ_LINE is set to true during compilation.
CRs-Fixed: 3071027
Change-Id: I0f756ae76d366c254b4af64adf60fe6be7a1a2ef
Signed-off-by: Anand Ravi <quic_ananravi@quicinc.com>
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>
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>
Currently, the resource node is re-assigned incorrectly in ppp
bottom half code, which results in crash during ppp recovery.
Remove the re-assignment to take care of this issue.
CRs-Fixed: 3091342
Change-Id: I200c49409f9e6ad58dbd00a08bc16d15930de438
Signed-off-by: Mukund Madhusudan Atre <quic_matre@quicinc.com>
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>
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>
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>
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>
When special compilation enabled, enable test irq at bootup
to verify camnoc irq line.
CRs-Fixed: 3071027
Change-Id: I3a79405a57ae7d0aa859a4f77c6252bbc60d80c4
Signed-off-by: Pavan Kumar Chilamkurthi <quic_pchilamk@quicinc.com>
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>
-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>
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>
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>