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>
Number of CCI masters index validation to avoid
out of bound array indices access.
CRs-Fixed: 3381768
Change-Id: I14d4a111cc5c7dab17d071446cddccd7651389a3
Signed-off-by: Abhilash Mahapatra <quic_abhmah@quicinc.com>
This change fixes some VA_UNUSED.GEN and MLK.MIGHT issues reported
by KW analysis tool. In addition to a functional fix related to
handle_type not being assigned properly.
CRs-Fixed: 3394193
Change-Id: Id28a06f3a65c639c0968dd1858d16a547f4d4959
Signed-off-by: Atiya Kailany <quic_akailany@quicinc.com>
This change removes some unused variables,
tnis fixes issues related to VA_UNUSED.GEN
reported by KW analysis tool.
CRs-Fixed: 3394193
Change-Id: I456485d06cac6e9d66ea67fed01c8ae0e44e8f68
Signed-off-by: Atiya Kailany <quic_akailany@quicinc.com>
Add OFE AXI path data type to string translations.
Add OFE data path Macros to be used in DTSI.
CRs-Fixed: 3375045
Change-Id: Ia7bc06869c771c34888ee141a53da2c060c6b162
Signed-off-by: Sokchetra Eung <quic_eung@quicinc.com>
When streaming off, issue a reset and then maskout all CSID
IRQs together as opposed to manipulating the mask bit by bit.
There is no atomic way to maskout all IRQs, in the process of
masking out IRQ bits an IRQ could still fire. This change ensures
we maskout the IRQs in a clean way post that unsubscribe for
those events from the IRQ controller. The change also ensures
the rx input is cut off prior to issuing a SW reset, this is
to rule out any spurious activity in HW caused due to incoming
data. At the time of the SW reset we are certain, we are not
in the middle of processing frames.
CRs-Fixed: 3336496
Change-Id: I1f714d290d31bb744809b2df9e2a4245b59641fe
Signed-off-by: Karthik Anantha Ram <quic_kartanan@quicinc.com>
This change enables FW ramdump by default, can be disabled
by using icp debugfs.
CRs-Fixed: 3393159
Change-Id: I8e66fe1f8ddba935bb27b6ee72ea36f38b384bf3
Signed-off-by: Karthik Anantha Ram <quic_kartanan@quicinc.com>
Monitor sync object operations such as create, register callback,
signal, unregister callback which is useful in debugging. Introduce
debugfs to dynamically set the monitor mask. Apply dump on error
when CAM_GENERIC_FENCE_TYPE_xx is set in cam_sync_monitor_mask and
apply dump on release when CAM_GENERIC_FENCE_TYPE_xx_DUMP is also set
at the same time. Apply dynamic memory allocation for monitor data
in synx and dma. Refactor APIs into generic ones and add memory
checkings.
CRs-Fixed: 3350863
Change-Id: I70cfdc1215be5f6bf564c672a874e6ba7997cdfa
Signed-off-by: Pavan Kumar Chilamkurthi <quic_pchilamk@quicinc.com>
Signed-off-by: Haochen Yang <quic_haocyang@quicinc.com>