This change corrects the wrong res id during checking
whether ife lite can be used in current usecase.
CRs-Fixed: 3046530
Change-Id: Ic24848fcd4aa85172e334a9de81c69dcdc9838cf
Signed-off-by: Depeng Shao <depengs@codeaurora.org>
Since we don't wait for requests to be ready on lower pd devices before
applying request on higher pd devices, add provision to cancel request
if it has not been applied on IFE.
CRs-Fixed: 3014942
Change-Id: I8850b0dfe3f88e04b86f7bb6b597657ad7e0a4f9
Signed-off-by: Anand Ravi <ananravi@codeaurora.org>
Added checks to make sure in_map /out_map entries of
packet io configs are within expected maximum value.
CRs-Fixed: 3007258
Change-Id: I7e5a652cd8f9ae104a10a2af551fe49930849b2d
Signed-off-by: Shravya Samala <shravyas@codeaurora.org>
Handle fatal error notification by any device on the link.
On receiving the error propagate it to all connected devices.
CRs-Fixed: 3045706
Change-Id: Ia36a3262a48ea35afc8b98df21056461c5c523ef
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
On overflow, cam_irq_controller_disable_all function is called from top
half handler, which itself is in a loop of all entries of top half list.
Manipulating the list to remove all elements can leave it in an unstable
state and cause the loop to never terminate. Since events are removed
from all lists when unsubscribing from the IRQs, do not clear the top
half list when disabling all events.
CRs-Fixed: 3043489
Change-Id: Idee0a017cdea1dac73e9a7a00f07463afe324983
Signed-off-by: Anand Ravi <ananravi@codeaurora.org>
SFE has two dependent controllers - bus write and bus read. Currently,
it max dependents is set to one so increase maximum dependents to fix
dependency registration failure.
CRs-Fixed: 3044375
Change-Id: Ib02490ef0016943d979506288d6192558b380534
Signed-off-by: Anand Ravi <ananravi@codeaurora.org>
Add support of new PDAF Parsed data outport for VFE 780.
CRs-Fixed: 2948116
Change-Id: Icd88e3947f6c1461c49ef6912985836931a1c62b
Signed-off-by: Chandan Kumar Jha <cjha@codeaurora.org>
This commit adds support for printing PID and MID in case
of page faults on SFE.
CRs-Fixed: 3040816
Change-Id: I99f8c6de6049802f7c67a72daf6c3fb24c3defb1
Signed-off-by: Gaurav Jindal <gjindal@codeaurora.org>
For boken mode with hw sync enable, a link and its synclink
streaming with sync. if a bubble condition happens on a link,
and can not wait all buf done to clear the isp ctx
process_bubble flag in time, there may apply fails on isp
during the bubble recovery flow. current crm reset in_q slot
after req's report has finished. this may lead to a synclink
slot not found while do ready check.
So delay to do slot reset by referring the link delay.
CRs-Fixed: 2996710
Change-Id: Ice8c340a9f478a69d97e3a7c77e0d0a263be66fa
Signed-off-by: chengxue <chengxue@codeaurora.org>
If fence is signalled successfully, reset it to -1 to prevent it from
getting signalled again incorrectly.
CRs-Fixed: 3042511
Change-Id: I87f465508e9e626ad700f592478f253f179e9fe9
Signed-off-by: Anand Ravi <ananravi@codeaurora.org>
Currently, the shifted value we are providing to comp mask is
32-bit. The number of output ports have increased beyond 32,
and it requires for the correct bit to be set to report buf
done to context correctly. Extend the mask value calculation
to 64-bit.
CRs-Fixed: 2948116
Change-Id: I70e30fc44c178c04d0e962a31e4c48e3e5a13e75
Signed-off-by: Mukund Madhusudan Atre <matre@codeaurora.org>
CSIPHY version 2_1_0, secure phy mask is different for csiphy
hw 0/1/2/3 and hw 4/5. This needs to be configure before enabling
secure lanes. This change adds the appropriate version check to
perform this operation.
CRs-Fixed: 3039500
Change-Id: I8e856757886e880a6bf57ed4083ddf99cd325a7a
Signed-off-by: Jigarkumar Zala <jzala@codeaurora.org>
Check if ctx_data is null after assignment but before checking if it's in use.
CRs-Fixed: 3026736
Change-Id: I366383cbd30b7c22c16610d7b73e4e0ad8f74a55
Signed-off-by: Karthik Jayakumar <kjayakum@codeaurora.org>
Currently, during verification of consumed address, we are not
taking into account the exapanded memory address that newer
targets have. Also, we are using wrong index for fence map
table, leading to supplying same resource handle for copying
buffer of different fence map entry, leading to empty frame.
Add correct comparision for consumed address and supply correct
index for fence map entry.
CRs-Fixed: 2932495
Change-Id: I1743d894ce47a51f2d93dc185865bb47b7655c05
Signed-off-by: Mukund Madhusudan Atre <matre@codeaurora.org>
Add support for more error codes in the kernel code to
report more errors to user.
CRs-Fixed: 3026930
Change-Id: I430b26c285f1c9fcf0a4d7bb9a618bbbf7bf0662
Signed-off-by: Jigar Agrawal <jigar@codeaurora.org>
All the paths that are enabled program their RUP/AUP
respectively. At the end of that program MUP as well via
AHB. The change also removes programming MUP for scratch buffers.
CRs-Fixed: 3038703
Change-Id: I3b6b23bb9c6b7644b5943815253b965a40080973
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>