提交图

3005 次代码提交

作者 SHA1 备注 提交日期
Li Sha Lim
e824226a1f msm: camera: uapi: Add new WM output formats
For v980, new formats are added. This change also
fixes mismatch of plain16_10_lsb format between
kmd and userspace.

CRs-Fixed: 3321317
Change-Id: I1d951d3e55b37b11ebe6dad67bea220d47998d59
Signed-off-by: Li Sha Lim <quic_lishlim@quicinc.com>
2023-05-20 10:06:22 -07:00
Li Sha Lim
b3f493269c msm: camera: smmu: Early PF detection
This change adds support to detect early
unmapping of buffers from UMD, and signal
when the error occurs by sending an error
code to UMD.

At present, buffers are allocated and/or mapped
by UMD, and the following sequence occurs.

KMD prepares packets sent during a config ioctl,
and these packets reside in the mapped buffers;
HW blocks then access these buffers, and may
write output to other mapped buffers(io buffers);
Once HW is done(upon a buf done), KMD signals
this event to UMD;
UMD may free/unmap these relevant buffers.

This change adds support to detect cases where a
free/unmap happens before/while HW is accessing
these buffers.

This feature is enabled by default, but a debugfs
variable disable_buf_tracking is added under smmu
which will enable the user to disable the feature.
Camera server needs to be restarted whenever this
variable is set/unset for changes to take place.

CRs-Fixed: 3382609
Change-Id: I39c3f0c373743c10bc2e6304ffbdc820e3c95970
Signed-off-by: Li Sha Lim <quic_lishlim@quicinc.com>
2023-05-20 10:06:15 -07:00
Stark Lin
c23a3f448c msm: camera: isp: Add support for HWPD debugging
HWPD is associated with several modules, but only image size violation
displayed in the kernel when an error occur. Now we will pass the error
code of HWPD violation to UMD to help UMD to take necessary action and
dump relevant info.

CRs-Fixed: 3440015
Change-Id: I6483b228a8eeaac3bf54f5f83f8f8deab3da6250
Signed-off-by: Stark Lin <quic_starlin@quicinc.com>
2023-05-20 10:06:07 -07:00
hchintal
a26b52bf45 Snap for drop 05/18/2023 mainline 985 LA.VENDOR.14.3.0.AU251
camera-kernel:
878c97cc Merge "msm: camera: icp: Optimize FW uncached region for ICP" into camera-kernel.lnx.dev
47b5dbdc Merge "msm: camera: icp: Debug queue updates" into camera-kernel.lnx.dev
bd37dc0b Merge "msm: camera: isp: Add debug info in ISP state machine" into camera-kernel.lnx.dev
5904e6a8 Merge "msm: camera: smmu: Correct the handle check" into camera-kernel.lnx.dev.

Change-Id: I2ba7390a75e44457ae76d4abd40864c548a5f83d
Signed-off-by: hchintal <quic_hchintal@quicinc.com>
2023-05-18 23:36:37 -07:00
Karthik Anantha Ram
6d25986b9f msm: camera: icp: Optimize FW uncached region for ICP
Allocate memory based on what is configured to FW. Avoid
hardcoded allocations, thereby reducing the memory
footprint. The change also updates size check for a SMMU
mapping, if the size of the buffer is beyond the assigned
va range fail the mapping.

CRs-Fixed: 3477543
Change-Id: I3c2e262f57cdfdbd51255679b2405d855d7d5353
Signed-off-by: Karthik Anantha Ram <quic_kartanan@quicinc.com>
2023-05-18 23:36:31 -07:00
Karthik Anantha Ram
d56214d30d msm: camera: icp: Debug queue updates
Reduce size of the buffer to drain the dbg_q. Add a mutex for
dbg_q, and in HFI read validate the input buffer size prior
to copying the queue contents into the input buffer.

CRs-Fixed: 3477543
Change-Id: I2043f3db6189ebfc8b8ead8db0266a83bc94b6a2
Signed-off-by: Karthik Anantha Ram <quic_kartanan@quicinc.com>
2023-05-18 23:36:25 -07:00
Karthik Anantha Ram
81a980cf07 msm: camera: isp: Add debug info in ISP state machine
Monitor frame events driving the state machine.
To better understand what led to the state machine stalling update
debug info that is logged on errors.

CRs-Fixed: 3309151
Change-Id: Iccf0efd82069b342e5d4b1731292604d37263b0b
Signed-off-by: Karthik Anantha Ram <quic_kartanan@quicinc.com>
2023-05-18 23:36:17 -07:00
Karthik Anantha Ram
ba3f945f46 msm: camera: smmu: Correct the handle check
Correct the check for comparing SMMU client names when
trying to create new  handles.

CRs-Fixed: 4653426
Change-Id: I04e0d75e87bf88f1ae05b7d61b6853ac6794d6eb
Signed-off-by: Karthik Anantha Ram <quic_kartanan@quicinc.com>
2023-05-18 23:36:09 -07:00
hchintal
217466cb72 Snap for drop 05/15/2023 mainline 983 LA.VENDOR.14.3.0.AU251
camera-kernel:
b1dcccf6 Merge "msm: camera: common: Reduce data section size with logging optimized" into camera-kernel.lnx.dev.

Change-Id: I5298bd79f72a05f1bd77a4fded2ee17f93c892dd
Signed-off-by: hchintal <quic_hchintal@quicinc.com>
2023-05-15 17:36:08 -07:00
Gaurav Jindal
42108eab32 msm: camera: common: Reduce data section size with logging optimized
Current logic of logging passes the strings as arguments to
logging Macros. This converts them into string literals and
increase the data section size.
This commit changes the logic to convert the tags into
strings inside a function, thus optimizing the data section size.
Top level estimations shows the reduction of 1.5MB .ko size.

CRs-Fixed: 3470008
Change-Id: Ifcd5bedc374e8c5f36b8c0be5ae050959b432666
Signed-off-by: Gaurav Jindal <quic_gjindal@quicinc.com>
2023-05-15 16:36:09 -07:00
hchintal
9b3cea0734 Snap for drop 05/12/2023 mainline 982 LA.VENDOR.14.3.0.AU251
camera-kernel:
08dd916b Merge "msm: camera: isp: Add rd info for SFE hw dump" into camera-kernel.lnx.dev
5c9fdb00 Merge "msm: camera: isp: Reduce repetitive code for dump" into camera-kernel.lnx.dev
fd182bf8 Merge "msm: camera: isp: Add irq set register offset" into camera-kernel.lnx.dev
3117850a Merge "msm: camera: common: Removing dead code" into camera-kernel.lnx.dev
1dab4c6f Merge "msm: camera: isp: Dumping CSID registers on image violations" into camera-kernel.lnx.dev
ba56ac64 Merge "msm: camera: isp: Fix some known kw issues" into camera-kernel.lnx.dev
d91fb109 Merge "msm: camera: isp: Optimization for CDM BL FIFO" into camera-kernel.lnx.dev
dba7620c Merge "msm: camera: uapi: Add a flag for different channel settings" into camera-kernel.lnx.dev
96765912 msm: camera: isp: Dumping CSID registers on image violations.

Change-Id: I8a90f7624fab5624c1c30dd04ab801d149fa1cd4
Signed-off-by: hchintal <quic_hchintal@quicinc.com>
2023-05-12 19:07:10 -07:00
Yash Upadhyay
f69d8301bf msm: camera: isp: Dumping CSID registers on image violations
Currently at image size violation we just get info about width
and height for that particular port which is sometimes not
sufficient if in case some other register incorrectly configured.
This change will dump few CSID registers like crop register in
case of error which will help to get more info.

CRs-Fixed: 3467438
Change-Id: I034f2686b3689b52cdd0309d09bbdb920f88222b
Signed-off-by: Yash Upadhyay <quic_yupadhya@quicinc.com>
2023-05-12 19:07:03 -07:00
Stark Lin
444b5dc204 msm: camera: isp: Fix some known kw issues
This change fixes below kw issues:

1. Operands in a bitwise operation have different size.
2. err_evt_info might be used uninitialized.

CRs-Fixed: 3491937
Change-Id: Ied038b18c72485646dc641f6d1396d15c50c06e2
Signed-off-by: Stark Lin <quic_starlin@quicinc.com>
2023-05-12 19:06:56 -07:00
Atiya Kailany
51b81257c0 msm: camera: common: Removing dead code
Removing some unused variables after assignment

CRs-Fixed: 3394193
Change-Id: Ifb554da9f974036a19670e8c247ec5ae424c6091
Signed-off-by: Atiya Kailany <quic_akailany@quicinc.com>
2023-05-12 19:06:50 -07:00
Stark Lin
150d83d873 msm: camera: isp: Add irq set register offset
This change add irq set register offset for VFE and SFE, it provides the
foundation for the implementation of BUS IRQ injection of VFE and SFE.

CRs-Fixed: 3433678
Change-Id: Idc2aa59eb805f9ebc397112c5e5c800f68423e5a
Signed-off-by: Stark Lin <quic_starlin@quicinc.com>
2023-05-12 19:06:42 -07:00
Wang Kan
5bf8e19f67 msm: camera: uapi: Add a flag for different channel settings
Add a flag for different channel settings
including short and standard channel.

CRs-Fixed: 3440178
Change-Id: I3f9ea83483a1706e660a8c5ddf225f5d9eb3abcb
Signed-off-by: Wang Kan <quic_wkan@quicinc.com>
2023-05-12 19:06:34 -07:00
Haochen Yang
14dbf1fe63 msm: camera: isp: Optimization for CDM BL FIFO
This change aims at reducing the num of update entries
during the prepare stage. This change combines the change
base entry and RUP entry at the end of each request,
squeezes related entries from handling blob and combines RUP
entry when adding go cmd for offline context.

This change also refactors code on adding and combining
entries, removes unused variables and cleans some coding
style issues.

This change turns UNUSED entry to IQ entry for
convience but it's also compatible for further change on
the BL type of those entries.

CRs-Fixed: 3444613
Change-Id: I0301436971a86b72d8e98018caf130de78b44011
Signed-off-by: Haochen Yang <quic_haocyang@quicinc.com>
2023-05-12 19:06:27 -07:00
Stark Lin
0bb248aca0 msm: camera: isp: Reduce repetitive code for dump
This change reduces repetitive code and also add SFE OUT resources
dump while executing dump for acquired resources.

CRs-Fixed: 3467287
Change-Id: I9d826bbbf90b3f97ce5d7d59a453f2c290dc8dee
Signed-off-by: Stark Lin <quic_starlin@quicinc.com>
2023-05-12 19:06:19 -07:00
Stark Lin
54cb878ad5 msm: camera: isp: Add rd info for SFE hw dump
This change adds rd info for SFE hw dump. Also when an SFE error
occurs, only the information of err res will be dump, it will
help on reducing burdensome logs.

CRs-Fixed: 3436435
Change-Id: I7e3395d8301e2a51cbaf62d3974f37468ffa785b
Signed-off-by: Stark Lin <quic_starlin@quicinc.com>
2023-05-12 19:06:09 -07:00
hchintal
c5d53927f5 Snap for drop 05/09/2023 mainline 979 LA.VENDOR.14.3.0.AU238
camera-kernel:
d980d3aa Merge "msm: camera: icp: Add support for synx testing" into camera-kernel.lnx.dev
6f9732a4 Merge "msm: camera: isp: Fix KW issues in CSID driver" into camera-kernel.lnx.dev.

Change-Id: Ieaa260eb2502ac7f5db9b8510c2d11b0dfece94c
Signed-off-by: hchintal <quic_hchintal@quicinc.com>
2023-05-09 21:06:41 -07:00
hchintal
1dc8df349e Snap for drop 05/08/2023 mainline 978 LA.VENDOR.14.3.0.AU238
camera-kernel:
596ceb15 Merge "Revert "msm: camera: icp: Optimize FW uncached region for ICP"" into camera-kernel.lnx.dev
8d3e42eb Merge "Revert "msm: camera: icp: Debug queue updates"" into camera-kernel.lnx.dev
f2ac4bc8 Merge "msm: camera: sensor: change sequential wr to burst wr" into camera-kernel.lnx.dev.

Change-Id: I9630fb11bf95267bd38ec6ca891a5e00d3ae6674
Signed-off-by: hchintal <quic_hchintal@quicinc.com>
2023-05-09 21:06:37 -07:00
Karthik Anantha Ram
9bf7e70f2d msm: camera: icp: Add support for synx testing
Add support to receive synx test cmds, and forward it to ICP FW.
Synx on ICP will process that cmd, and send a response. This
response is returned to the caller. The objective of this
infrastructure is to allow synx test app to validate synx
functionality on ICP without running any actual use-case.

CRs-Fixed: 3448052
Change-Id: I3785264f74c5c698146f4de1a82d25fe141cfc2a
Signed-off-by: Karthik Anantha Ram <quic_kartanan@quicinc.com>
2023-05-09 21:06:32 -07:00
Karthik Anantha Ram
c5af31b5fd Revert "msm: camera: icp: Optimize FW uncached region for ICP"
This reverts commit e21c25e7df29202054ad8177e2ce78cde77265f6.

Change-Id: If8eb722b41c234d06cdb864c1c381f7c885bc045
Signed-off-by: Karthik Anantha Ram <quic_kartanan@quicinc.com>
2023-05-09 21:06:28 -07:00
Karthik Anantha Ram
1c6ec7a3fa Revert "msm: camera: icp: Debug queue updates"
This reverts commit f9da163e99ef761fde283d72b0080f140cc3bebc.

Change-Id: I5f3a819658bc9e140f159211d63bfabdfeb3aa70
Signed-off-by: Karthik Anantha Ram <quic_kartanan@quicinc.com>
2023-05-09 21:06:23 -07:00
Ridhi Shah
36c4820960 msm: camera: sensor: change sequential wr to burst wr
Change sequential to burst write in write calls for  i2c and i3c.

CRs-Fixed: 3418153
Change-Id: I4b10b1b62e1075225867561297bddaaac2797a2d
Signed-off-by: Ridhi Shah <quic_ridhshah@quicinc.com>
2023-05-09 21:06:17 -07:00
Gaurav Jindal
2565267811 msm: camera: isp: Fix KW issues in CSID driver
This commit fixes the KW issues in CSID Driver while
fetching the index for UDI.

CRs-Fixed: 3484948
Change-Id: Ia7a7dbd2f4ace71830f3a652874cc1cc321a5ef6
Signed-off-by: Gaurav Jindal <quic_gjindal@quicinc.com>
2023-05-09 21:06:09 -07:00
hchintal
f03feffb83 Snap for drop 05/03/2023 mainline 976 LA.VENDOR.14.3.0.AU238
camera-kernel:
3bea55a1 Merge changes Idfdce7fe,If7246f7d into camera-kernel.lnx.dev
f3c1a6c3 Merge "msm: camera: isp: Allow plain161x output format reserve" into camera-kernel.lnx.dev.

Change-Id: Ic530f389a8b5ad016c70de6cd2b526302d143412
Signed-off-by: hchintal <quic_hchintal@quicinc.com>
2023-05-03 18:39:24 -07:00
Karthik Anantha Ram
571d057caa msm: camera: icp: Optimize FW uncached region for ICP
Allocate memory based on what is configured to FW. Avoid
hardcoded allocations, thereby reducing the memory
footprint. The change also updates size check for a SMMU
mapping, if the size of the buffer is beyond the assigned
va range fail the mapping.

CRs-Fixed: 3477543
Change-Id: Idfdce7febfe6624db33ff466b978207e96d4a902
Signed-off-by: Karthik Anantha Ram <quic_kartanan@quicinc.com>
2023-05-03 18:39:18 -07:00
Karthik Anantha Ram
99ce2fb196 msm: camera: icp: Debug queue updates
Reduce size of the buffer to drain the dbg_q. Add a mutex for
dbg_q, and in HFI read validate the input buffer size prior
to copying the queue contents into the input buffer.

CRs-Fixed: 3477543
Change-Id: If7246f7d1d521ed683a6fe785aa4c8d0457b5f0f
Signed-off-by: Karthik Anantha Ram <quic_kartanan@quicinc.com>
2023-05-03 18:39:09 -07:00
chengxue
0f20eeb37b msm: camera: isp: Allow plain161x output format reserve
Allow plain1610/plain1612/plain14 output format reserve while
seamless switch between RAW10/RAW12/RAW14 sensor mode.
Fix the image size violation issue by using write master pack
to get correct pack format and width on rdi.

CRs-Fixed: 3478244
Change-Id: I4dc3660f40405604bfd04a1e0042bb11ca5b5bf9
Signed-off-by: chengxue <quic_chengxue@quicinc.com>
2023-05-03 17:45:07 -07:00
hchintal
5009f5f7b5 Snap for drop 05/01/2023 mainline 974 LA.VENDOR.14.3.0.AU238
camera-kernel:
d5fec009 Merge "msm: camera: csiphy: Enhance the start dev log for csiphy" into camera-kernel.lnx.dev
a3f264c5 Merge "msm: camera: common: Increase the max tag length to 128" into camera-kernel.lnx.dev.

Change-Id: Id17e5ca28bffdc84f6a4dd2a06c655956f77d231
Signed-off-by: hchintal <quic_hchintal@quicinc.com>
2023-05-02 11:06:09 -07:00
Depeng Shao
a9df7dfa5c msm: camera: csiphy: Enhance the start dev log for csiphy
Enhance the start dev log for csiphy.

CRs-Fixed: 3482293
Change-Id: I8887affedb0d7937e4105585e531c654eaa634ff
Signed-off-by: Depeng Shao <quic_depengs@quicinc.com>
2023-05-01 19:38:22 -07:00
mingpan
12f52f25db msm: camera: common: Increase the max tag length to 128
Currently the maximum length of tag is 64, but in some
cases, the tag length we need is lager than 64, in
this case some information will be lost, which leads
to the failure to properly parse out the required
information. We need to make sure that all the tags
are the same length so that the parsing script can
parse them correctly. We also need to make sure that
the last character in tag is ":" in order for the
parsing script to get the full tag string correctly.

CRs-Fixed: 3467258
Change-Id: Ie8107ffd902d70d88026632a2c9fadaca0c276d8
Signed-off-by: mingpan <quic_mingpan@quicinc.com>
2023-05-01 19:36:09 -07:00
hchintal
8329f5d0b8 Snap for drop 04/28/2023 mainline 973 LA.VENDOR.14.3.0.AU238
camera-kernel:
126532f1 Merge "msm: camera: sync: Add support to invoke synx recover" into camera-kernel.lnx.dev.

Change-Id: I90498cf6598ed837ae4c8c70dbe058b3dc50f46f
Signed-off-by: hchintal <quic_hchintal@quicinc.com>
2023-04-28 18:06:08 -07:00
Karthik Anantha Ram
267f259a72 msm: camera: sync: Add support to invoke synx recover
If ICP FW is to be redowloaded, issue a synx recover for
this ICP core so that IPC/synx for the previous session
can be cleaned up prior to the next ICP cold boot.

CRs-Fixed: 3448052
Change-Id: I9f8f772730f7e4a8873b6dbdcf7a896ad6193150
Signed-off-by: Karthik Anantha Ram <quic_kartanan@quicinc.com>
2023-04-28 17:36:10 -07:00
hchintal
42c90f68b7 Snap for drop 04/27/2023 mainline 972 LA.VENDOR.14.3.0.AU238
camera-kernel:
1e8043b1 Merge "msm: camera: sensor: Add dynamic Switch support in TPG" into camera-kernel.lnx.dev
0f5d1d19 Merge "msm: camera: isp: Add header for TFE980" into camera-kernel.lnx.dev.

Change-Id: I4d4aff82a673d80961275b0010fda5e613270ae9
Signed-off-by: hchintal <quic_hchintal@quicinc.com>
2023-04-27 18:06:21 -07:00
Rishab Garg
3be797a964 msm: camera: sensor: Add dynamic Switch support in TPG
- Add support for Dynamic mode switch.
- Request store and apply from waiting queue.
- Add support for reapply request from active queue.
- Handling TPG interrupt.

CRs-Fixed: 3403974
Change-Id: I5dfe146b30631a94059f72d482610e04ba8e4e2c
Signed-off-by: Rishab Garg <quic_rishabg@quicinc.com>
2023-04-27 18:06:15 -07:00
Li Sha Lim
85fbc65dfa msm: camera: isp: Add header for TFE980
Add target header for TFE 980.

CRs-Fixed: 3321317
Change-Id: I30853defafd39b8d4738364223f9780c5a3b6c7e
Signed-off-by: Li Sha Lim <quic_lishlim@quicinc.com>
Signed-off-by: Mukund Madhusudan Atre <quic_matre@quicinc.com>
2023-04-27 18:06:07 -07:00
hchintal
39a04279dd Snap for drop 04/26/2023 mainline 971 LA.VENDOR.14.3.0.AU238
camera-kernel:
d2873a5b Merge "msm: camera: icp: ICP code optimization and clean up" into camera-kernel.lnx.dev
3fcf8c6b Merge "msm: camera: cpas: Support Multiple HW Capability Registers" into camera-kernel.lnx.dev.

Change-Id: I99906721e98af8b824728145ea3aa842afa55ed5
Signed-off-by: hchintal <quic_hchintal@quicinc.com>
2023-04-26 22:06:09 -07:00
Sokchetra Eung
a8b8c2e678 msm: camera: icp: ICP code optimization and clean up
Reorganize icp hw mgr structure to consolidate fields related to
device (IPE/BPS/OFE) to improve code readability and scalability
and avoid unnecessary array indexing. Optimizing ICP devices looping
by looping only available devices for current target instead of
looping to maximum devices.

CRs-Fixed: 3441726
Change-Id: I33ef62ceabbd85ff21aaf475b75d34b6c203b018
Signed-off-by: Sokchetra Eung <quic_eung@quicinc.com>
2023-04-26 19:36:17 -07:00
Sokchetra Eung
ac82a263b7 msm: camera: cpas: Support Multiple HW Capability Registers
Update CPAS HW driver to read multiple hw caps registers for v880
and v980 targets. Upgate CPAS API interface to provide multiple camera
caps to clients.

Move hw capability register offsets to cpas header files.

Update ICP driver to check the second hw capability mask
for OFE presence.

Based on the type of device(ICP/IPE/BPS/OFE) populated from DT, verify
with cpas titan hw capability to check if the device is supported for
the target. Verifying CPAS HW capability after populated devices from DT
removes the need for checking CPAS HW version.

CRs-Fixed: 3405111
Change-Id: I11a58920d97f25908e6bde49fd918b2cc90c1479
Signed-off-by: Sokchetra Eung <quic_eung@quicinc.com>
2023-04-26 19:36:09 -07:00
hchintal
1424316c7c Snap for drop 04/25/2023 mainline 970 LA.VENDOR.14.3.0.AU212
camera-kernel:
392cb445 "msm: camera: isp: Add new v4l2 tfe subdev" into camera-kernel.lnx.dev.

Change-Id: I1aad93d4dc7042d9cabfb2f9c65b80df941a0d21
Signed-off-by: hchintal <quic_hchintal@quicinc.com>
2023-04-25 18:36:06 -07:00
Li Sha Lim
f9c48bc48b msm: camera: isp: Add new v4l2 tfe subdev
This change registers tfe on v980 as an mc_tfe device
for userspace to enumerate.

CRs-Fixed: 3321317
Change-Id: Ic7810dc198aece0d1d0fa50e547f69c72218d49a
Signed-off-by: Li Sha Lim <quic_lishlim@quicinc.com>
2023-04-25 18:06:09 -07:00
hchintal
c75f28c84d Snap for drop 04/24/2023 mainline 969 LA.VENDOR.14.3.0.AU212
camera-kernel:
e3241187 Merge "msm: camera: isp: Get CDM callback done timestamp" into camera-kernel.lnx.dev
80c4879b Merge "msm: camera: csiphy: Add CLK params for Skew debug" into camera-kernel.lnx.dev
58aa978d Merge "msm: camera: isp: Add headers for CSID980" into camera-kernel.lnx.dev.

Change-Id: I1d068cbc45ded467fbb29114c799268cb1eec1dc
Signed-off-by: hchintal <quic_hchintal@quicinc.com>
2023-04-24 16:36:09 -07:00
Gaurav Jindal
242f7a1e0f msm: camera: isp: Add headers for CSID980
Add target headers for CSID 980.

CRs-Fixed: 3321317
Change-Id: I5edea2170268fb7a803947be8cba61ed86675694
Signed-off-by: Gaurav Jindal<quic_gjindal@quicinc.com>
Signed-off-by: Li Sha Lim <quic_lishlim@quicinc.com>
Signed-off-by: Ashish Bhimanpalliwar <quic_abhiman@quicinc.com>
Signed-off-by: Mukund Madhusudan Atre <quic_matre@quicinc.com>
2023-04-24 15:06:24 -07:00
Lokesh Kumar Aakulu
b31f12eb3d msm: camera: csiphy: Add CLK params for Skew debug
Add CLK params in debug data.

CRs-Fixed: 3448060
Change-Id: I45cf7875745088c1e01a9791520614c09fe40f14
Signed-off-by: Lokesh Kumar Aakulu <quic_lkumar@quicinc.com>
2023-04-24 15:06:17 -07:00
Wang Kan
409a6016d4 msm: camera: isp: Get CDM callback done timestamp
Get CDM callback done timestamp for LDAR to know
if CDM write delay. And enlarge event monitor
numbers to make sure dump 10+ frames info.

CRs-Fixed: 3430787
Change-Id: If5a1bd925d5d82d1856d880ccb1f4ed9effc5251
Signed-off-by: Wang Kan <quic_wkan@quicinc.com>
2023-04-24 15:06:08 -07:00
hchintal
3afe137a81 CAMX: Snap for drop 04/21/2023 mainline 968 LA.VENDOR.14.3.0.AU212
camera-kernel:
c38501c0 Merge "msm: camera: icp: Add support for new mem region cmd" into camera-kernel.lnx.dev
1ba50950 Merge "msm: camera: smmu: Add support for new subregions" into camera-kernel.lnx.dev
26439955 Merge "msm: camera: cpas: Update CPAS for v980" into camera-kernel.lnx.dev
92c1cbcb Merge "msm: camera: common: Return err on flush and log req id" into camera-kernel.lnx.dev
8a691fa0 Merge "msm: camera: memmgr: Reduce potential mutex optimistic spin" into camera-kernel.lnx.dev.

Change-Id: I1a4c3bafed7c9995dd9d04134736f5d257728e27
Signed-off-by: hchintal <quic_hchintal@quicinc.com>
2023-04-22 00:36:08 -07:00
Karthik Anantha Ram
2acac43289 msm: camera: icp: Add support for new mem region cmd
To avoid using GP registers to send different memory region
info, use GP registers to configure only the consolidated region.
The specifics for different regions within the consolidated region
are later sent to FW as a new HFI cmd.

CRs-Fixed: 3469619
Change-Id: I2eb9511a4df5c8eb4ca09b60acd1fcffb3ac4dff
Signed-off-by: Karthik Anantha Ram <quic_kartanan@quicinc.com>
2023-04-21 22:36:36 -07:00
Karthik Anantha Ram
eea5a9b44b msm: camera: smmu: Add support for new subregions
Add support for new subregion to account for two different
HW mutex regions for ICP. The change also adds support for
new global cntr subregion.

CRs-Fixed: 3469619
Change-Id: I8625230bfec23d2a12699a283a33e6ab83acaf00
Signed-off-by: Karthik Anantha Ram <quic_kartanan@quicinc.com>
2023-04-21 22:36:30 -07:00