Commit Graph

3313 Commitit

Tekijä SHA1 Viesti Päivämäärä
Camera Software Integration
f843f51465 Merge "msm: camera: common: Fix compilation issue in bazel build for volcano" into camera-kernel.lnx.7.0 2024-01-07 23:39:45 -08:00
Camera Software Integration
0f6aacc882 Merge "Revert "Revert "msm: camera: enable TFE compilation on Lanai""" into camera-kernel.lnx.7.0 2024-01-07 23:39:24 -08:00
Camera Software Integration
35ce7ba5f2 Merge "msm: camera: isp: Add support for error inject framework in TFE" into camera-kernel.lnx.7.0 2024-01-03 05:34:32 -08:00
Camera Software Integration
76dfa04d50 Merge "msm: camera: tfe: Add support for epoch blob in TFE HW" into camera-kernel.lnx.7.0 2024-01-03 05:34:24 -08:00
Camera Software Integration
2c59aec37f Merge "msm: camera: tfe: Add support for auto SHDR" into camera-kernel.lnx.7.0 2024-01-03 05:34:07 -08:00
Camera Software Integration
b23f7c2fae Merge "msm: camera: cpas: Update QOS value for camera" into camera-kernel.lnx.7.0 2024-01-03 05:33:53 -08:00
Camera Software Integration
4e3d3dd2a3 Merge "msm: camera: isp: Fix logic to get correct mid on page fault" into camera-kernel.lnx.7.0 2024-01-03 05:33:05 -08:00
Sridhar Gujje
60f5a19116 Revert "Revert "msm: camera: enable TFE compilation on Lanai""
This reverts commit 4443998313.

Change-Id: I204e17d85473ad8c9bdc12ed494f568ee0d70394
Signed-off-by: Sridhar Gujje <quic_sgujje@quicinc.com>
2024-01-02 22:43:42 -08:00
Sridhar Gujje
3fd0b95803 Merge "Revert "msm: camera: enable TFE compilation on Lanai"" into camera-kernel.lnx.7.0 2024-01-02 22:43:27 -08:00
Sridhar Gujje
4443998313 Revert "msm: camera: enable TFE compilation on Lanai"
This reverts commit bdcbaa0573.

Change-Id: I1fff7c0caf4698069d24b459480dc935b7cbc72d
Signed-off-by: Sridhar Gujje <quic_sgujje@quicinc.com>
2024-01-02 22:42:10 -08:00
Alok Chauhan
2b76fe8448 msm: camera: common: Fix compilation issue in bazel build for volcano
Fix compilation issue for mmrm dependencies in bazel build for
volcano target.

CRs-Fixed: 3696470
Signed-off-by: Alok Chauhan <quic_alokc@quicinc.com>
Change-Id: I7635cb7981a2ba5660e3465fb6be188a44df3ad8
2024-01-02 16:35:12 +05:30
Camera Software Integration
c3fe503c56 Merge "msm: camera: tfe: fixes for OOB and null ptr issues" into camera-kernel.lnx.7.0 2023-12-28 08:15:05 -08:00
Camera Software Integration
de1e39368b Merge "msm: camera: enable TFE compilation on Lanai" into camera-kernel.lnx.7.0 2023-12-28 08:14:57 -08:00
Camera Software Integration
ef21140fd3 Merge "msm: camera: sensor: Duplicate sensor changes" into camera-kernel.lnx.7.0 2023-12-25 19:44:48 -08:00
Camera Software Integration
d073f8c8d6 Merge "msm: camera: cci: Check if cci_info structure pointer is NULL" into camera-kernel.lnx.7.0 2023-12-19 21:56:47 -08:00
Alok Chauhan
ee457cc90c msm: camera: cpas: Update QOS value for camera
Updating correct QOS values for Camera CDM port
based on HW recommendation.

CRs-Fixed: 3546181
Change-Id: I5f1721e03e6e6e6ae7871df2db4f294f0bfd5d28
Signed-off-by: Alok Chauhan <quic_alokc@quicinc.com>
(cherry picked from commit 4fefd334d62305a928349d336df6e3c1492c88b9)
2023-12-19 01:55:07 -08:00
Camera Software Integration
3e9d2a6729 Merge "msm: camera: sensor: Add threaded irq support for cci" into camera-kernel.lnx.7.0 2023-12-18 06:53:09 -08:00
Camera Software Integration
080692e6ef Merge "msm: camera: sensor: Reg settings missed while lookahead on qup" into camera-kernel.lnx.7.0 2023-12-18 06:53:04 -08:00
Camera Software Integration
c37b6e662c Merge "msm: camera: isp: Add correct plain16_10 format for AI port" into camera-kernel.lnx.7.0 2023-12-18 06:53:00 -08:00
Camera Software Integration
5d3025540c Merge "msm: camera: cre: Fix out-of-bounds access in cre driver" into camera-kernel.lnx.7.0 2023-12-18 06:52:47 -08:00
Camera Software Integration
0b8bffd664 Merge "msm: camera: csid: Add fuse support for MP limit" into camera-kernel.lnx.7.0 2023-12-18 06:52:37 -08:00
Camera Software Integration
9e54b47f3b Merge "msm: camera: isp: Increase number of TFE contexts" into camera-kernel.lnx.7.0 2023-12-18 06:52:26 -08:00
Camera Software Integration
17e219436e Merge "msm: camera: common: rate limit error log and enable few warning logs" into camera-kernel.lnx.7.0 2023-12-18 06:52:14 -08:00
Camera Software Integration
79d50d59a6 Merge "msm: camera: cpas: Add support for Raveline Camera" into camera-kernel.lnx.7.0 2023-12-18 06:52:02 -08:00
Ayush Kumar
fa6d50974b msm: camera: isp: Add support for error inject framework in TFE
This change is to add support for error inducement in TFE HW.

CRs-Fixed: 3426117
Change-Id: I19a5e095bc84fa88c308640a1d490162698bb45f
Signed-off-by: Ayush Kumar <quic_ayushkr@quicinc.com>
2023-12-18 04:00:24 -08:00
Ayush Kumar
1b91ba1b2f msm: camera: tfe: Add support for epoch blob in TFE HW
In overlap SHDR, epoch irq from TFE need to configure in such
a way that request should be apply at epoch of shorter exposure frame
before start of the next frame of long exposure to make sure that
new settings should apply properly in time.

CRs-Fixed: 3396382
Change-Id: I1ddc3ce95c6d404a3f76a27cc58083e11b03bace
Signed-off-by: Ayush Kumar <quic_ayushkr@quicinc.com>
2023-12-18 03:59:56 -08:00
Ayush Kumar
6e2c1b9671 msm: camera: tfe: Add support for auto SHDR
This change add support for activate and deactivate ISP device in the
link when dual trigger mode in the link is set.

CRs-Fixed: 3374385
Change-Id: Ib6d25ab295d613fa5cd3edf1780362476920d74d
Signed-off-by: Ayush Kumar <quic_ayushkr@quicinc.com>
2023-12-18 17:08:13 +05:30
Shravan Nevatia
e309d6fc30 msm: camera: sensor: Duplicate sensor changes
Add support to skip HW operations (power/CCI) for
sensor nodes with "hw-no-ops" property. These nodes are
dummy entries since CSID reads data from a different sensor.

CRs-Fixed: 3150840
Change-Id: I6ceb3f9d2ea4f16abb9d5d2a6b89d5cb1d95c614
Signed-off-by: Shravan Nevatia <quic_snevatia@quicinc.com>
(cherry picked from commit 3deec40a9a58296f6f43d3cfe15b092e5a16c28b)
2023-12-14 16:58:54 +05:30
Nirmal Abraham
cbf5607d03 msm: camera: tfe: fixes for OOB and null ptr issues
Add validation checks in CRE, ICP and TFE drivers
to avoid OOB and null ptr access issues.

CRs-Fixed: 3248380
Change-Id: Ic2c6bd41e34605a3291e6f50fe0fe94a0ab30523
Signed-off-by: Nirmal Abraham <quic_c_nabrah@quicinc.com>
(cherry picked from commit a63bcb668392e1271ab0d2f53a54736a54325828)
2023-12-13 17:22:05 +05:30
Camera Software Integration
a90b42d899 Merge "msm: camera: sensor: Add Trace logs for CCI BURST WRITE" into camera-kernel.lnx.7.0 2023-12-13 02:01:14 -08:00
chengxue
5aa6302ba5 msm: camera: sensor: Reg settings missed while lookahead on qup
While we lookahead and merge the continuous reg settings to
burst, the packed setting len with uint8 data type may happen
overflow if the continuous reg setting count is larger than 255,
then some reg settings missed and lead to some sensor issues,
so modify the data type of len to avoid it.

CRs-Fixed: 3678429
Change-Id: I51a153d2340b84dd874ecd7bef6b3df1356611b0
Signed-off-by: chengxue <quic_chengxue@quicinc.com>
(cherry picked from commit aadcb5e66d37f556c570621e3b15e834601f074b)
2023-12-13 01:58:42 -08:00
Lokesh Kumar Aakulu
8dc1b0cd65 msm: camera: sensor: Add threaded irq support for cci
When CCI drains its payload cmds in QUEUE because
of CPU scheduling delays from SW Driver side then
next successive transaction will endup in NACK ERROR.
To Fix this issue, Updating payload cmds to CCI QUEUE
is moved to Threaded irq so that Scheduling delays can
be minimized and avoid NACK Error.

CRs-Fixed: 3562709
Change-Id: I577a6531d692a4f202651e2dd5d4cf0684259b75
Signed-off-by: Lokesh Kumar Aakulu <quic_lkumar@quicinc.com>
(cherry picked from commit bcdafbc3c3afcbed75c2c469f26d8c483d0430d1)
2023-12-13 01:58:01 -08:00
Dharmender Sharma
1e193cd952 msm: camera: csid: Add fuse support for MP limit
This change limit the resolution for the single camera based on fuse.
Acquire will fail in case width is greater than the supported width.

CRs-Fixed: 3679491
Change-Id: I4f3e8dfdbe80aee994ca66f12bbbcdc7cda77676
Signed-off-by: Dharmender Sharma <quic_dharshar@quicinc.com>
2023-12-12 20:09:20 +05:30
Camera Software Integration
7cdb3df0f5 Merge "msm: camera: sensor: Add CCI BURST WRITE Support" into camera-kernel.lnx.7.0 2023-12-11 09:08:15 -08:00
Camera Software Integration
7afb256737 Merge "msm: camera: isp: fix prevent issues" into camera-kernel.lnx.7.0 2023-12-11 09:08:12 -08:00
Camera Software Integration
7f85e79c66 Merge "msm: camera: common: update msm-mmrm dependency for volcono" into camera-kernel.lnx.7.0 2023-12-11 09:07:57 -08:00
Camera Software Integration
192fbd4d41 Merge "msm: camera: csiphy: Update PHY secure CP register for Crow" into camera-kernel.lnx.7.0 2023-12-11 09:07:44 -08:00
Camera Software Integration
85469b7344 Merge "msm: camera: csiphy: Update PHY secure CP register" into camera-kernel.lnx.7.0 2023-12-11 09:07:28 -08:00
Lokesh Kumar Aakulu
8bc2eafe25 msm: camera: sensor: Add Trace logs for CCI BURST WRITE
Add Trace logs for each threshold irq and corresponding
Error cases for BURST WRITE usecases.

CRs-Fixed: 3562709
Change-Id: I9e91fc0b9ae0eda20063c8150c8c4694b583355f
Signed-off-by: Lokesh Kumar Aakulu <quic_lkumar@quicinc.com>
(cherry picked from commit 9326d397a2ec90696ce37a5d5966cdc671d657e3)
2023-12-10 06:19:49 -08:00
Camera Software Integration
92aed74949 Merge "Revert "msm: camera: isp: Fix value of min hbi in CSID path"" into camera-kernel.lnx.7.0 2023-12-07 22:45:52 -08:00
Sridhar Gujje
c019fc5e03 Revert "msm: camera: isp: Fix value of min hbi in CSID path"
This reverts commit 5fdbdc7281.

Change-Id: Ib5770144046564b0e33aad78695f6f899906c5cc
Signed-off-by: Sridhar Gujje <quic_sgujje@quicinc.com>
2023-12-07 22:36:34 -08:00
Camera Software Integration
46c3009877 Merge "msm: camera: isp: fix KMD prevent issues like OOB" into camera-kernel.lnx.7.0 2023-12-07 21:18:05 -08:00
Camera Software Integration
c5f0f907fd Merge "msm: camera: isp: fix potential out of bounds" into camera-kernel.lnx.7.0 2023-12-07 21:17:58 -08:00
Camera Software Integration
0183615dc2 Merge "msm: camera: ife: Adding sanity check at the time of buf done" into camera-kernel.lnx.7.0 2023-12-07 21:17:48 -08:00
Camera Software Integration
c9d8fed32d Merge "msm: camera: ife: Fix to enable FCG configurations in Cliffs" into camera-kernel.lnx.7.0 2023-12-07 21:17:42 -08:00
Lokesh Kumar Aakulu
3efecb742f msm: camera: sensor: Add CCI BURST WRITE Support
Introduce Threshold IRQ and compose dynamically
allocated buffer with CCI BURST WRITE Commands
and finally write to the CCI HW register and
manage Threshold Interrupts in optimized way. So,
that SW Driver latencies will not affect the I2C
BURST WRITE functionality.

CRs-Fixed: 3562709
Change-Id: I5749ba3b61e28d8f2c1075f46f470f5a9c5bd6b5
Signed-off-by: Lokesh Kumar Aakulu <quic_lkumar@quicinc.com>
(cherry picked from commit 1e4f481db9076c766b7300bb65364a13a61247c1)
2023-12-06 08:10:04 -08:00
Vikram Sharma
f220a81b54 msm: camera: isp: fix prevent issues
This change fix uninitialized local variable issue
in sfe driver.

CRs-Fixed: 3665080
Change-Id: I7b781f51cdf6ecc8842f44df3b841ea9a9984a6b
Signed-off-by: Vikram Sharma <quic_vikramsa@quicinc.com>
(cherry picked from commit 505bbbc5c6f1817d9a097a0bfc99d83a3e91f7b9)
2023-12-06 08:09:21 -08:00
Alok Chauhan
bdcbaa0573 msm: camera: enable TFE compilation on Lanai
Enable bezel tfe compilation on Lanai target and fixed
compilation.

CRs-Fixed: 3671077
Signed-off-by: Alok Chauhan <quic_alokc@quicinc.com>
Change-Id: Ibaa618498a05f16f9544e6fcaa6ceecd6549271c
2023-12-06 10:35:23 +05:30
Pranav Sanwal
df1fca554b msm: camera: cpas: Add support for Raveline Camera
Add changes for cpas for raveline camera .
Create target specific header files for raveline.

CRs-Fixed: 3318758
Change-Id: Ib1bd54975a97bc4b09293cf8a82a1c3bbbeecb31
Signed-off-by: Pranav Sanwal <quic_psanwal@quicinc.com>
(cherry picked from commit fc03d26be204900d7e19054915b52fbd3353444f)
2023-12-05 14:36:58 +05:30
Alok Chauhan
5af9459694 msm: camera: common: update msm-mmrm dependency for volcono
Updates board list of supported msm-mmrm boards to include volcono.

CRs-Fixed: 3671077
Signed-off-by: Alok Chauhan <quic_alokc@quicinc.com>
Change-Id: Ia5c26af59e029506d961052a4a4f9f8b3f0fef18
2023-12-05 11:08:56 +05:30