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>
dma_buf_vunmap function signature changed between kernel version
5.10 and 5.15.
CRs-Fixed: 3088126
Change-Id: If6ef72aa7839e358bc6d7a384e628b760ecaf265
Signed-off-by: zhuo <quic_zhuo@quicinc.com>
Fix the ipp, ppp and rdi bottom half handlers to safely
release the event payload when possible and add sanity
checks to prevent possible out of bound array index
access.
CRs-Fixed: 3067387
Change-Id: I93f73ae7239901eee19e2e5694a2c656390abc53
Signed-off-by: Jigar Agrawal <quic_jigar@quicinc.com>
Add support for Missing EOT and long packet corruption
error codes.
CRs-Fixed: 3026930
Change-Id: I10088e0aff95782d8fa9ceff0e73ecf08b6a02dd
Signed-off-by: Jigar Agrawal <quic_jigar@quicinc.com>
Sometimes, i2c driver will be probed earlier than CRM
driver ready, then we can't register the subdev for
this i2c driver. This change adds the component support
for i2c driver.
CRs-Fixed: 3073284
Change-Id: I5ee176497a667729d964758ac0909f6902877094
Signed-off-by: Depeng Shao <quic_depengs@quicinc.com>
1) There is one to one mapping for ppi index with phy index
but phy select is not always equal to phy number,for some
targets "phy_sel = phy_idx + 1", and for some targets it is
"phy_sel = phy_idx", ppi_index should be updated accordingly.
2) Updated to configure ppi cfg register as.
for cphy, disable dphy in config register.
for dphy, do nothing (both cphy and dphy will be selected).
then enable all lanes.
CRs-Fixed: 3057665
Change-Id: I1d5d66034a5563b5adcb8163acf9a668d10d4a19
Signed-off-by: Vikram Sharma <vikramsa@codeaurora.org>
Update ISP offline state machine, to ensure any IRQ scheduling
issues would not lead to complete stalling of the stream.
CRs-Fixed: 3068998
Change-Id: I116019e4963f93c28bcfb1f09c5278f478961a5d
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
Sometimes we already get all the buf done before the bubble
is detected, so we also need to handle the deferred buf done
when the bubble is detected, otherwise, the bubble request
can't be finished.
CRs-Fixed: 3066543
Change-Id: Ied46ad0a5efe3a7d8132bc9560ae3f35d69fee89
Signed-off-by: Depeng Shao <depengs@codeaurora.org>
Flash acquire logs with device handle is getting printed at wrong
place. This change move acquire logging after succesful acquire
of flash hw.
CRs-Fixed: 3048249
Change-Id: Ibe5071c963faad87585e7ead74e4e41de0d2ddd4
Signed-off-by: Jigarkumar Zala <jzala@codeaurora.org>
FF: Upto PC669: Merge tag 'camera-kernel.lnx.5.0-211101.1' into 6.0
* tag 'camera-kernel.lnx.5.0-211105':
msm: camera: isp: Enable line done config for SFE RDI0-2
msm: camera: smmu: Add support for 36 bit address space
msm: camera: cpas: Disable ICP QoS registers for kalama
msm: camera: isp: Update RM stride correctly at stream on
msm: camera: sensor: Add support for CSIPHY TPG 1.2
msm: camera: isp: Add header file VFE and CSID for Cape
msm: camera: cpas: Add support for Cape Camera
msm: camera: sensor: Add support for CSIPHY 2.1.1
msm: camera: common: Add path for ubwc and linear
msm: camera: common: Add Kalama make configuration
msm: camera: smmu: Moves custom smmu API's to cam_compat
msm: camera: common: Remove return from debugfs_create_bool
msm: camera: mem_mgr: Add dma_buf_vmap to cam_compat
msm: camera: custom: Move include to cam_compat
msm: camera: req_mgr: Update list_head to const
msm: camera: common: DDR type selection deprecation
msm: camera: csid: correction for printing long and short packet info
msm: camera: isp: Refactor csid get rdi format function
msm: camera: isp: Print additional debug info in case of csid errors
Change-Id: I46f3c1c34c2db76436ad02a30268e4c6f9a845b3
Signed-off-by: Sridhar Gujje <sgujje@codeaurora.org>
Due to interrupt delays, when VFE top processes the interrupt registers
it might see EPOCH and EOF of frame n along with SOF of frame n+1. The
current logic is based on IRQ controller priority and hence will report
SOF of frame n+1 before EPOCH of frame n. This can result in ISP context
reporting SOF timestamp of frame n+1 for both frame n and frame n+1.
In order to report the events in the order that they occurred, we
maintain a state machine in VFE top to keep track of the last seen
event. This helps detect any missing IRQs and also warn when such
interrupt delays are observed.
The state machine logic is only able to handle delays less than 1 frame.
For example, EPOCH of frame n+1 occurs before VFE top has read EPOCH of
frame n, there is no way to tell that this is the case from the
interrupt registers.
CRs-Fixed: 3067696
Change-Id: I061732c20ff23ca9394ae9844d50729476ad07b5
Signed-off-by: Anand Ravi <ananravi@codeaurora.org>
Remove regs reread of cdm_irq_status and top_irq_status
after finishing read poll of the regs to avoid false
errors in core reset of IPE and BPS.
CRs-Fixed: 3071147
Change-Id: Ie4d65a7b527b025b623d365c77361e3db9ae89be
Signed-off-by: sokchetra eung <eung@codeaurora.org>
Add support to disable the 5th CSIPHY based on
the CSIPHY SW fuse register bit.
Change-Id: Iae9dd7df0c0277eb48a258c91502390d042c9c43
CRs-Fixed: 3071805
Signed-off-by: Shravan Nevatia <quic_snevatia@quicinc.com>