camera-kernel:
4c6191b Merge "msm: camera: csiphy: Add Support for datarate config per csiphy" into camera-kernel.lnx.dev.
Change-Id: I72febf46ad0bf341b8e731419a5cbbb0f4ede68b
Signed-off-by: hchintal <quic_hchintal@quicinc.com>
Tough sensor data rate is same for multiple camera sensors
still it'll depend up the mounting distance from sensor
to CSIPHY or SOC. Hence update datarate setting based on
CSIPHY instance.
CRs-Fixed: 3420314
Change-Id: Ie098b121394e241f360f9ae775bfd83b6bace15b
Signed-off-by: Lokesh Kumar Aakulu <quic_lkumar@quicinc.com>
camera-kernel:
07f26d8 Merge "msm: camera: sync: Add extra support for monitor dump" into camera-kernel.lnx.dev.
Change-Id: Id2374541a16588a12385734bfaded187c8b88fc0
Signed-off-by: hchintal <quic_hchintal@quicinc.com>
Add monitor dump when dma/synx is already in signaled
state or has registered a cb, and when sync fails to
signal its corresponding dma/synx.
CRs-Fixed: 3350863
Change-Id: I4b52647f1d3f53eff119df1ab143be6848dd0d5d
Signed-off-by: Haochen Yang <quic_haocyang@quicinc.com>
Adding infrastructure to check OIS FW version before downloading
OIS FW to avoid downloading the same FW.
CRs-Fixed: 3383153
Change-Id: Ic92b62bfe2277eaba9b417a13201fabeab04383e
Signed-off-by: Yulei Yao <quic_yuleiy@quicinc.com>
Signed-off-by: Karthik Anantha Ram <quic_kartanan@quicinc.com>
This change removes some unused variables and
checks bounds for an index in camera driver.
CRs-Fixed: 3394193
Change-Id: I1e38834f09a4ef9717787e87df8689ab2541fd84
Signed-off-by: Atiya Kailany <quic_akailany@quicinc.com>
This change removes some variables that are
never used after assignment.
CRs-Fixed: 3394193
Change-Id: I47458d5408b14580a309749823e29b3d61f85681
Signed-off-by: Atiya Kailany <quic_akailany@quicinc.com>
Remove config_spectra_custom from localized kconfig
settings and remove corresponding flags passed to
C preprocessor during the build.
CRs-Fixed: 3421836
Change-Id: If6f70edf8c2c84184a111e133d3d1fad523ac247
Signed-off-by: Haochen Yang <quic_haocyang@quicinc.com>
To scale for 2 ICP hw managers, currently the driver statically
allocates an array of 2 HW managers. As opposed to static allocation,
the change allocates memory for the HW manager only based on number
of ICP driver instances running.
CRs-Fixed: 3421571
Change-Id: I96ae6bdcdc46e9d194aedaf6f2aff15c2e3d258d
Signed-off-by: Karthik Anantha Ram <quic_kartanan@quicinc.com>
Add CRM state monitor for recording some recent CRM states,
such as notify trigger, notify error, when CRM notify recovery,
it will dump these operations records to help debugging.
CRs-Fixed: 3296185
Change-Id: I190b2201b36f12cdf7970962dad0304188fd4564
Signed-off-by: mingpan <quic_mingpan@quicinc.com>
This change makes use of a variable after assignment.
CRs-Fixed: 3394193
Change-Id: I4e0df3646c71e8e3fc4219ba4b500a7ac6cc03d6
Signed-off-by: Atiya Kailany <quic_akailany@quicinc.com>
Removed dead code and variables in camera driver and
handled return value appropriately.
CRs-Fixed: 3394193
Change-Id: I42fda0ad538a23cc8967f9cbce936d22c31e72fb
Signed-off-by: Atiya Kailany <quic_akailany@quicinc.com>
camera-kernel:
58e999b Merge "msm: camera: isp: Some logic fixes and removing dead code" into camera-kernel.lnx.dev
536724e Merge "msm: camera: isp: Add support for TS combined VC index" into camera-kernel.lnx.dev
bc2594d Merge "msm: camera: jpeg: Removing dead code" into camera-kernel.lnx.dev.
Change-Id: Iec726db6189e0b533b626d849dfe02c1e745f750
Signed-off-by: hchintal <quic_hchintal@quicinc.com>
These changes fix some logic errors that were left in code, in
addition to fixing memory leak issues and removing unused
variables.
CRs-Fixed: 3394193
Change-Id: Ib257dcaf05d48913038718beca9e071730ac21c0
Signed-off-by: Atiya Kailany <quic_akailany@quicinc.com>
This change removes some flags and unused variables
in JPEG driver.
CRs-Fixed: 3394193
Change-Id: Iccdadebbd6943322e58da682986c4f6145ca9a64
Signed-off-by: Atiya Kailany <quic_akailany@quicinc.com>
This change enables the timestamp combined vc index,
we can get the VC index of the received frames during
mup mismatch, also print out the timestamp to get the
frame duration info.
CRs-Fixed: 3397057
Change-Id: I433765777043b50dd153efc54070156e812f6200
Signed-off-by: Depeng Shao <quic_depengs@quicinc.com>
Update the address boundary of setting the in_map_region to
be true when SMMU page fault handler tries to find the closest
mapping.
Update the log information to better describe the mapping.
CRs-Fixed: 3409108
Change-Id: I302abaf78281df62516646b9b095fdcb2b61c276
Signed-off-by: Haochen Yang <quic_haocyang@quicinc.com>
For RAW10/RAW12/RAW14 sensor mode seamless switch case, the
RDIs write master format may be changed while update write
master config, so we update RDIs write master data to support
RAW10/RAW12/RAW14 sensor mode seamless switch.
CRs-Fixed: 3411933
Change-Id: Id549ca41861cbc8cbbed447271971293602f6adf
Signed-off-by: chengxue <quic_chengxue@quicinc.com>
This change is to call the tpg_hw_configure_init_settings_v3
function which is responsible for enabling clock and
resetting tpg clock in case of settings command config.
CRs-Fixed: 3406224
Change-Id: I17edb716074a121e12d04735166b3a0209a19359
Signed-off-by: Shivi Mangal <quic_smangal@quicinc.com>
camera-kernel:
c534efa Merge "msm: camera: isp: Update framedrop config only for full IFE WMs" into camera-kernel.lnx.dev
cf38c0b Merge "msm: camera: smmu: Update checks to handle multiple same regions" into camera-kernel.lnx.dev.
Change-Id: Iab75f990f24159be6261765e8a61271ed8305132
Signed-off-by: hchintal <quic_hchintal@quicinc.com>
Currently, we are trying to update framedrop config as part of
HFR config update for IFE Lite WMs as well, which is not supported.
Skip framedrop config for IFE Lite WMs.
CRs-Fixed: 3388991
Change-Id: I70708925592d2471a480455f9ba3fb6857de7075
Signed-off-by: Mukund Madhusudan Atre <quic_matre@quicinc.com>
Update handle checks for context banks having multiple regions
of the same type.
CRs-Fixed: 3391818
Change-Id: I99bd3f11947730095031b80169b36cb9054267de
Signed-off-by: Karthik Anantha Ram <quic_kartanan@quicinc.com>
Some variables are never used after assignment,
so they are removed.
CRs-Fixed: 3394193
Change-Id: I3e475f96e6ff419aaa67ef0910c886dc707fc93b
Signed-off-by: Atiya Kailany <quic_akailany@quicinc.com>
Some dead code was removed and a memory leak issue was resolved
This solves issues related to VA_UNUSED.GEN and MLK.MIGHT.
CRs-Fixed: 3394193
Change-Id: I387587a3e359df9ad44a15e3e3f58b3422c81ad9
Signed-off-by: Atiya Kailany <quic_akailany@quicinc.com>
Enable config for clock update calls that vote the cesta hw client
votes. Update existing ddr drv flags to include spectra for camera
specific flags.
CRs-Fixed: 3315013
Change-Id: I63e0107a517d3c71f8fac7f2d631e2c37f62f8b3
Signed-off-by: Mukund Madhusudan Atre <quic_matre@quicinc.com>
Signed-off-by: Pavan Kumar Chilamkurthi <quic_pchilamk@quicinc.com>
Since OFE config IO opcode has the same value as BPS config IO opcode,
generic handling function for config io ack msg cannot distinguish
BPS or OFE based on the opcode. So, instead, this change handles
the OFE IO config ack msg with the help of command type in the packet.
CRs-Fixed: 3406414
Change-Id: I847bf82cec8cdd86b387c75805060d6a7e44fcb6
Signed-off-by: Sokchetra Eung <quic_eung@quicinc.com>
Added log to print wq_name and callback info to understand
which task is delayed and to aid in debugging.
CRs-Fixed: 3381768
Change-Id: I74f1f5d3312c9163cfbafa4bc15a96c973ef2ba5
Signed-off-by: Karthik Dillibabu <quic_kard@quicinc.com>
Several bits for path based error IRQs are not subscribed
and few shift values are missing. Add missing info and fix
incorrect info in csid headers. Add hbi vbi printing in
format measure logging to give complete info at once.
CRs-Fixed: 3388992, 3376293
Change-Id: I9eb7ee7a4f3384774688184742300d66930ffa0c
Signed-off-by: Mukund Madhusudan Atre <quic_matre@quicinc.com>
The change addresses race conditions stemming from releasing
internal row lock prior to invoking synx APIs. The change
also deregisters dma/synx callbacks if the corresponding
fences are signaled when the associated sync object is signaled.
The change also cleans up & reorganizes functions.
CRs-Fixed: 3403341
Change-Id: I32995900e31ba73eac6b44d2238808f8e6c23f9a
Signed-off-by: Karthik Anantha Ram <quic_kartanan@quicinc.com>
Adding support for LLCC sys cache notify stalling feature.
To influence the cache replacement policy in real time in order to,
improve cache performance and reduce DDR bandwidth.
CRs-Fixed: 3376264
Change-Id: Id82f60fb856b3548bad77670c7c45c81ea1e904f
Signed-off-by: Soumen Ghosh <quic_soumeng@quicinc.com>
On flush specific request, update last flush request ID for
the link.
CRs-Fixed: 3404872
Change-Id: I05eade5792a891c78fa279895b8053ecb1ae9f95
Signed-off-by: Karthik Anantha Ram <quic_kartanan@quicinc.com>