This change is to make Blair camera module dynamic.
CRs-Fixed: 2944976
Change-Id: I1af60fd3e1e607f52285d7abf30321ff6682149e
Signed-off-by: Ayush Kumar <ayushkr@codeaurora.org>
Add camera config support for MONACO target.
CRs-Fixed: 2918290
Change-Id: I98ff2a0d540aa6a4fb5a31a8d26f7abe0750918d
Signed-off-by: Amit Somani <amitsm@codeaurora.org>
ICP driver is not releasing mutex in error scenario
in close sequence and causing deadlock further in open.
Fix the deadlock and avoid prints in other driver
while close in provider crash.
CRs-Fixed: 2938073
Change-Id: I226c9a8e9b2d0c30e90282b11fbd15ea0b085f87
Signed-off-by: Alok Chauhan <alokc@codeaurora.org>
Blair has different version of CPAS version which
requires camnoc interface changes and CPAS version
change. This change adds the same.
CRs-Fixed: 2944976
Change-Id: I700d99e52dacee9badcb2f66a7a295fb18771231
Signed-off-by: Ayush Kumar <ayushkr@codeaurora.org>
Resource state is not proper during csid stop for PHY TPG hence stop
doesn't call for it.
Update the correct resource state during tpg start for PHY TPG.
CRs-Fixed: 2906168
Change-Id: Ib5fd05a380f6e1dbb303af23b7b0017d9f88c125
Signed-off-by: Alok Chauhan <alokc@codeaurora.org>
For RDI only batch mode use case the image address needs to
be programmed only once the consecutive image address is
taken from the frame increament address and image address
we have provided.
CRs-Fixed: 2948881
Change-Id: I94bce9522aaace00b567b023bba1cc3443d849ef
Signed-off-by: Tejas Prajapati <tpraja@codeaurora.org>
Since the SOF timestamp is only updated at SOF,
so we can't do self-correction at EOF. When the
frames already in sync, but the req is a EOF
triggered req, then the req can't be applied at
SOF, but it will fail to pass self-correction
checking at EOF. Then we will loop this progress,
the req can't be applied anymore.
CRs-Fixed: 2930497
Change-Id: I079cbd3cb9ac9541f049c5369baeee831f7444a2
Signed-off-by: Depeng Shao <depengs@codeaurora.org>
The request id is updated to 0 when the substate is
BUBBLE, then the original request id can't be notified
to UMD, since the reported_req_id is already updated to
the original request id. This change updateds the
reported_req_id only when the final request id is
valid.
CRs-Fixed: 2932602
Change-Id: Ib30f849782283c647f784cfb0deb49bee3d04287
Signed-off-by: Depeng Shao <depengs@codeaurora.org>
This change adds validity check for ife out res. If ife out res is
NULL we can run into crash or issues.
CRs-Fixed: 2915741
Change-Id: I8722b2a4e2634bda42f0080e00bf09050bbd6b91
Signed-off-by: Vikram Sharma <vikramsa@codeaurora.org>
This change is to reset csid_error_irq_count on flush
to prevent from recovery.
CRs-Fixed: 2926200
Change-Id: I8568fdc679317e41c31f4aeb9cf8c3ae579d8448
Signed-off-by: Ayush Kumar <ayushkr@codeaurora.org>
In Dual tfe scenario, tfe csid drop first frame in the ipp pix
path to sync both master and slave, but rdi frame will go to tfe.
this will cause issues in the camif and rdi sub sampling scenarios.
in sub sampling scenarios both camif and rdi should be subsampled
on same frames. To achieve this drop the rdi first frame from csid
in dual tfe scenarios.
Change-Id: I73e98a6d3d973af93bbe6afef7585a95578f2a2b
CRs-Fixed: 2923045
Signed-off-by: Ravikishore Pampana <rpampana@codeaurora.org>
Add support for YUV422 format 10 bit in CSID and bus drivers.
CRs-Fixed: 2923254
Change-Id: Icecc367d88509b9ed08f5d0cab8c4da788886a0a
Signed-off-by: Gaurav Jindal <gjindal@codeaurora.org>
This change is set the OT values for RT client of Camonc
to 8 for Yupik camera.
CRs-Fixed: 2924987
Change-Id: Icb7f30c23f5899558a41308fe313d46fd8d992a3
Signed-off-by: Ayush Kumar <ayushkr@codeaurora.org>
Pagefault_ops is protected by the mutex_lock to avoid the
list corruption by concurrent access by flush calls.
CRs-Fixed: 2904307
Change-Id: Ia6519a382ace7b89b6bd59a2dacfeca3c31e2705
Signed-off-by: Tejas Prajapati <tpraja@codeaurora.org>
when provider crash occurred, there was a CSID lane overflow
observed due to shutdown sequence from CRM(sensor, csid, csiphy).
To fix the issue need to change the shutdown sequence
(csid, sensor, csiphy).
This change will update the devices sequence in order while registering
and close the sequence accordingly.
CRs-Fixed: 2852076
Change-Id: Ia6d8022e995823bf031400c33528eb8544dc2e29
Signed-off-by: Alok Chauhan <alokc@codeaurora.org>