The VFE path for some output ports varies for every hardware version. By
querying for these exceptions from VFE top, we can make these mappings
more generic.
CRs-Fixed: 2918424
Change-Id: I597cb423251a722cbd09587eb23adb76c5613421
Signed-off-by: Anand Ravi <ananravi@codeaurora.org>
Currently, we iterate through an array of wm data with fixed
bitmasks, which might not work for other archs. We can generate
the bitmask value with the help of wm index and print appropriate
dimensions.
CRs-Fixed: 2841729
Change-Id: I18537a4a074394934e2880ca1adf8da34835d983
Signed-off-by: Mukund Madhusudan Atre <matre@codeaurora.org>
Add support for programming Sparse PD output port in
vfe bus. Fix config of PDAF Data port.
CRs-Fixed: 2841729
Change-Id: I30f2adc8f2f4ef94b62ec0cbfc768d5f5b88e505
Signed-off-by: Mukund Madhusudan Atre <matre@codeaurora.org>
In the Case of CSID RX fetal errors, We disable rx path. Whenever
we get sof freeze after some time, we enable the path SOF
to do a health check of the sensor.
But we don’t get the SOFs and it gives the wrong impression that
the sensor is not streaming.
Notify crm driver to pause the timer in case of fatal hardware error
to not missled sof freez issue.
CRs-Fixed: 2890861
Change-Id: I73e750cad0193ea5537a25c8440a9863343c4ef7
Signed-off-by: Chandan Kumar Jha <cjha@codeaurora.org>
Sometimes, UMD reports nonincrementing shutter request id
issue during monkey test on sHDR usecase, isp reports last
one req in active req list during bubble, so if the active
req count is 2, we will meet this issue.
This change gets the first active req during bubble in case
the active req count is 2.
CRs-Fixed: 2885087
Change-Id: I67d1ecfe9c88123e6d0887383961bfc676455a0d
Signed-off-by: Depeng Shao <depengs@codeaurora.org>
If req#N in slot idx, and this req meets bubble issue,
then the req#(N+1) in slot (idx+1) may also be applied,
and its status is APPLIED. If req#(N+1) applies failed
after finishing bubble recovery due to some reasons,
but we still can move to next slot since the status of
slot (idx+1) is already APPLIED. This change resets
the status of slot (idx+1) to ADDED if it is APPLIED
during processing error.
CRs-Fixed: 2902809
Change-Id: I32f318569ad8f24fdf0f324603f4ea0036867e98
Signed-off-by: Depeng Shao <depengs@codeaurora.org>
For ISP resources, res_id is printed, which does not give clear
indication of resource. At some places translation code is
used which is an overhead.
This commit adds name to isp resource node structure.
This will be helpful while printing the resource logs and
avoids the translation overhead.
CRs-Fixed: 2830502
Change-Id: I436810e971a521fe2e845a2e3ca544b4c2921727
Signed-off-by: Gaurav Jindal <gjindal@codeaurora.org>
Set alignment to LSB aligned for SFE RAW for PLAIN16 format.
CRs-Fixed: 2841729
Change-Id: Ifd7baa36309bb5d5ec34b7690f5811ebf11ef461
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
Try CSID acquire from lower_idx for fetch engine use-cases.
For IPP, we can try for a CSID of higher hw idx for SFE
single/dual use-cases. In case of dual the core with the lower
index will be the master or left core.
CRs-Fixed: 2841729
Change-Id: Ifc352fed1af8bda12581ffdc4d431618d2058c0b
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
Reinitializing complete variable after reset command can cause
the variable to set to 0 before going for wait for completion.
This causes the wait to fail even after the IRQ is received.
This commit moves the reinit before issuing the reset command.
CRs-Fixed: 2911638
Change-Id: I771ae546b18a4b86e40cf7815668bdeee4fc9d47
Signed-off-by: Gaurav Jindal <gjindal@codeaurora.org>
Due to restructuring of memory API's new header files contain old
DMA_ATTR macro's.
CRs-Fixed: 2835738
Change-Id: If2b13866c41dcf7b19b47e40fc2d3801c2161816
Signed-off-by: Karthik Jayakumar <kjayakum@codeaurora.org>
Iterate through the list of top half events safely to allow for
unsubscribing (list deletion and freeing the pointer) during top half
processing.
CRs-Fixed: 2910416
Change-Id: I5f079f47645c7222546610d8a5de39d86695b39d
Signed-off-by: Anand Ravi <ananravi@codeaurora.org>
In case of errors, CSID path is stopped but RX is still running.
This can result in random issues on rx side.
We enable RX before starting the path as a separate call and
disable RX after stop path as a separate call.
In case of Rx errors, disable the IRQ from top half.
CRs-Fixed: 2910598
Change-Id: I60af8b47461e45cded75e6d1b3785ef2424b39bd
Signed-off-by: Gaurav Jindal <gjindal@codeaurora.org>
Update index of debug status register when dumping hung module info.
Also update a log in sfe bus wr.
CRs-Fixed: 2841729
Change-Id: Ide5c6f2a8c564f785749c1045ca2fa27bb30422c
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
Update the bring up sequence for csiphy2.1.0 with the
revision U.
CRs-Fixed: 2895820
Change-Id: I59b52d0bb52b82b23d83fd138e93302792dc6203
Signed-off-by: Jigar Agrawal <jigar@codeaurora.org>