Grafico dei commit

1261 Commit

Autore SHA1 Messaggio Data
Jigar Agrawal
39807aabc9 msm: camera: isp: Add support to dump reserved TPGv3 VC DT
Implement a debugfs for TPG version3 to dump the reserved
VC DT information.

CRs-Fixed: 2823940
Change-Id: I370308a71b6726fcd51615bb745f3556772675ee
Signed-off-by: Jigar Agrawal <jigar@codeaurora.org>
2021-02-26 18:57:42 -08:00
Jigar Agrawal
af624ce693 msm: camera: isp: Change TPGv3 acquire implementation
Fix the TPG version 3 reserve function to utilize all the 16
unique VC and DT combination support. Add functionality to be
 able to reserve TPG version 3 multiple times for future
multi camera usecase.

CRs-Fixed: 2823940
Change-Id: Ib5cadc5398c78f110a8a768932d65de3bd849309
Signed-off-by: Jigar Agrawal <jigar@codeaurora.org>
2021-02-26 18:57:37 -08:00
Haritha Chintalapati
025842520f Merge "msm: camera: isp: Fixing KW errors" into camera-kernel.lnx.5.0 2021-02-26 15:51:45 -08:00
Haritha Chintalapati
3198ac75e2 Merge "msm: camera: reqmgr: Pause the timer before sensor stream on" into camera-kernel.lnx.5.0 2021-02-25 17:16:49 -08:00
Haritha Chintalapati
b5ea977913 Merge "msm: camera: ope: Add support to dynamic switch pix_pattern" into camera-kernel.lnx.5.0 2021-02-25 17:16:40 -08:00
Savita Patted
37e33fb211 Merge "msm: camera: isp: Get hint for FS mode from UMD" into camera-kernel.lnx.5.0 2021-02-24 18:57:13 -08:00
Savita Patted
9e7dad7c68 Merge "msm: camera: isp: Fix type mismatch arguments in indirect function calls" into camera-kernel.lnx.5.0 2021-02-24 18:56:50 -08:00
Chandan Kumar Jha
a12577028b msm: camera: isp: Fixing KW errors
Fixes KW errors for ISP.

CRs-Fixed: 2880899
Change-Id: I6926b61732991b51edd7e173bb05d2a7da96405f
Signed-off-by: Chandan Kumar Jha <cjha@codeaurora.org>
2021-02-24 19:16:16 +05:30
Haritha Chintalapati
34bc468a4f Merge "msm: camera: common: Improve the CSID logging" into camera-kernel.lnx.5.0 2021-02-23 14:58:34 -08:00
Depeng Shao
4591949a37 msm: camera: reqmgr: Pause the timer before sensor stream on
Sometimes, the cpu load is very high, then the devcies
stream on will be delayed, but the CRM watchdog is already
enabled before streaming on, then we will have a chance to
notify SOF freeze issue.
This change pauses the CRM watchdog timer before streaming
on sensor and after stopping ife, when we can detect the
stream on and stream off delay, but don't notify error,
also can detect the real SOF freeze issue.

CRs-Fixed: 2804587
Change-Id: Iccaee837930ea22290b109eff45b05300d844312
Signed-off-by: Depeng Shao <depengs@codeaurora.org>
2021-02-23 11:01:43 -08:00
Rishabh Jain
01249ea8d9 msm: camera: ope: Add support to dynamic switch pix_pattern
Add support to dynamically switch pix_pattern of read clients
based on data received in each request.

CRs-Fixed: 2811530
Change-Id: Icb3ebd33cae59b8db87bc0011d6560492ad29c3a
Signed-off-by: Rishabh Jain <risjai@codeaurora.org>
2021-02-23 10:58:45 -08:00
Haritha Chintalapati
641fd73444 Merge "msm: camera: smmu: Update iommu_fault_handler return codes" into camera-kernel.lnx.5.0 2021-02-22 14:24:35 -08:00
Haritha Chintalapati
6a2595de76 Merge "msm: camera: isp: Fixing KW errors" into camera-kernel.lnx.5.0 2021-02-22 14:24:16 -08:00
Haritha Chintalapati
7f8d05ddb7 Merge "msm: camera: isp: Enhance SFE debug capability" into camera-kernel.lnx.5.0 2021-02-22 14:24:00 -08:00
Chandan Kumar Jha
166ccd4af8 msm: camera: isp: Fix type mismatch arguments in indirect function calls
Fix type mismatch arguments in callback functions.

CRs-Fixed: 2878736
Change-Id: I5f88d870d1927db71dae2b1773ba185ea4c6838c
Signed-off-by: Chandan Kumar Jha <cjha@codeaurora.org>
2021-02-22 15:50:17 +05:30
Jigar Agrawal
713f481a57 msm: camera: common: Improve the CSID logging
Improve CSID irq logging for better debugging.

CRs-Fixed: 2808577, 2875656
Change-Id: I20a1d6262108d05a690f0e2b4ebac7c3fe773e0f
Signed-off-by: Jigar Agrawal <jigar@codeaurora.org>
2021-02-20 09:48:19 -08:00
Haritha Chintalapati
15025a5cd0 Merge "msm: camera: csiphy: Update 2phase sequence." into camera-kernel.lnx.5.0 2021-02-19 14:05:18 -08:00
Haritha Chintalapati
98da4da464 Merge "msm: camera: isp: Implement the global clear only once" into camera-kernel.lnx.5.0 2021-02-19 14:05:07 -08:00
Karthik Jayakumar
a020673eae msm: camera: smmu: Update iommu_fault_handler return codes
Changes return codes to iommu_fault_handler to enable access to new
debug features.
-ENOSYS: Print debug information about the iommu_fault.
0: Print no additonal debug information.
-EBUSY: GPU specific crashdump usecase.

CRs-Fixed: 2835738
Change-Id: Icc2b580dc7b67a00e27ac445b43ab8ffc27fa636
Signed-off-by: Karthik Jayakumar <kjayakum@codeaurora.org>
2021-02-19 10:52:25 -08:00
Chandan Kumar Jha
c2b18a4591 msm: camera: isp: Fixing KW errors
Fixes KW errors for ISP.

CRs-Fixed: 2880899
Change-Id: Ide94d7ff91e154440abbfecc3c6a249400ed0a62
Signed-off-by: Chandan Kumar Jha <cjha@codeaurora.org>
2021-02-19 16:52:55 +05:30
Haritha Chintalapati
a494005f93 Merge "msm: camera: icp: Suppress warning messages when requesting FW" into camera-kernel.lnx.5.0 2021-02-18 13:31:27 -08:00
Haritha Chintalapati
a0cf064b96 Merge "msm: camera: cci: Correct logging level" into camera-kernel.lnx.5.0 2021-02-18 13:31:16 -08:00
Jigar Agrawal
aff6258694 msm: camera: isp: Implement the global clear only once
Fix the implementation where global clear command is
getting applied redundantly for more than once in a
for loop.

CRs-Fixed: 2880438
Change-Id: I0ff4b120eb7458bfc9978d5c6916d21d8db35e16
Signed-off-by: Jigar Agrawal <jigar@codeaurora.org>
2021-02-17 20:23:27 -08:00
Jigarkumar Zala
2d5b15b75c msm: camera: csiphy: Update 2phase sequence.
Update the 2Phase bring up sequence to accomodate different
platforms.

CRs-Fixed: 2835738
Change-Id: I3a58876590f8f6e0ea3d8b651723498494bdf50d
Signed-off-by: Jigarkumar Zala <jzala@codeaurora.org>
2021-02-17 19:03:19 -08:00
Karthik Anantha Ram
a29daee15b msm: camera: isp: Enhance SFE debug capability
Add support in SFE bus to print violating client info.
Also add support to dump violating module in SFE top.

CRs-Fixed: 2841729
Change-Id: Ic859c89a57004139ab442eb28ccb9ab45e5ceb54
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
2021-02-17 15:02:24 -08:00
Karthik Anantha Ram
225eb81a60 msm: camera: icp: Suppress warning messages when requesting FW
Replace request_firmware API so that no warning messages
are generated when the file is not found. sysfs callback
mechanism is enabled if direct filesystem lookup fails.

CRs-Fixed: 2841729
Change-Id: I6dd892690ca9d38a90a6e0623d87421e889dbeca
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
2021-02-16 23:09:19 -08:00
Jigar Agrawal
223fee3ea6 msm: camera: sensor: Add sensor name for better debugging
Add sensor name in the sensor drivers for better debugging.

CRs-Fixed: 2856300
Change-Id: I97995e2b731dcf05b5cf85d7b023be77d8a21327
Signed-off-by: Jigar Agrawal <jigar@codeaurora.org>
2021-02-16 20:54:59 -08:00
Haritha Chintalapati
f5a37db0df Merge "msm: camera: sensor: Increase slot ids in sensor" into camera-kernel.lnx.5.0 2021-02-16 14:36:28 -08:00
Jigarkumar Zala
b1bad9ec9e msm: camera: cci: Correct logging level
Interrupt context is printing info logs by default which needs
to be print as dbg log. Correcting logging level to achieve this.

CRs-Fixed: 2835738
Change-Id: Ia21a7a4f62c973b173274b363c9a971370d20c36
Signed-off-by: Jigarkumar Zala <jzala@codeaurora.org>
2021-02-16 11:20:51 -08:00
Haritha Chintalapati
54a4c4ec11 Merge "msm: camera: isp: Add missing IFE core config fields" into camera-kernel.lnx.5.0 2021-02-12 14:10:56 -08:00
Haritha Chintalapati
9ba85cbeed Merge "msm: camera: icp: Reset secure pil flag after shutdown" into camera-kernel.lnx.5.0 2021-02-12 14:10:30 -08:00
Haritha Chintalapati
6f4b67530b Merge "msm: camera: isp: Toggle DSP clock in IFE for HVX usecase" into camera-kernel.lnx.5.0 2021-02-12 14:10:18 -08:00
Haritha Chintalapati
a383bf2f94 Merge "msm: camera: isp: Add separate base for CSID" into camera-kernel.lnx.5.0 2021-02-12 14:09:50 -08:00
Haritha Chintalapati
2aff2d600e Merge "msm: camera: isp: Configure HBI/VBI/Throttle params for TPG" into camera-kernel.lnx.5.0 2021-02-12 14:09:33 -08:00
Karthik Anantha Ram
ce0aadce82 msm: camera: isp: Get hint for FS mode from UMD
In case of SFE FS mode, SFE PP needs to be bypassed by
programming sfe_offline_en in CSID wrapper. Get this
hint from UMD to differentiate between sHDR & FS use-cases.

CRs-Fixed: 2841729
Change-Id: If118440be2066c50871785f2077c69cff126d0f7
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
2021-02-12 14:05:59 -08:00
Jigar Agrawal
85c3935cd3 msm: camera: sensor: Increase slot ids in sensor
Increase the max supported slot ids to 16 in sensor.

CRs-Fixed: 2871214
Change-Id: I08910f2c34f70333bf25dbb31de5994c3beb7a8f
Signed-off-by: Jigar Agrawal <jigar@codeaurora.org>
2021-02-12 10:11:51 -08:00
Karthik Anantha Ram
5c6e3c3d91 msm: camera: icp: Reset secure pil flag after shutdown
Reset the flag post shutdown, instead of resetting it prior
to calling into HYP.

CRs-Fixed: 2841729
Change-Id: If0bed24a22e1084135df81dc5a72b395e92adb2c
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
2021-02-11 14:55:45 -08:00
Haritha Chintalapati
7b2a65de04 Merge "msm: camera: isp: SFE enhancements" into camera-kernel.lnx.5.0 2021-02-11 14:30:58 -08:00
Haritha Chintalapati
1a7a0baf62 Merge "msm: camera: cdm: Improve cdm debug registers dump" into camera-kernel.lnx.5.0 2021-02-11 14:30:48 -08:00
Karthik Anantha Ram
9c7d665c19 msm: camera: isp: Configure HBI/VBI/Throttle params for TPG
Update hbi, vbi & throttle pattern in TPG with the values sent
from user-space in TPG blob.

CRs-Fixed: 2841729
Change-Id: Ie4d95252c0b00ce8226f39fe899eae7c0bf3c88a
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
2021-02-11 13:29:15 -08:00
Anand Ravi
a25ec69dcd msm: camera: isp: Add missing IFE core config fields
Add format select and HDR select fields. Also fix the width of DSP tap
point select.

CRs-Fixed: 2846451
Change-Id: Id02116817645932b041dc1a8aa473cef4d34575a
Signed-off-by: Anand Ravi <ananravi@codeaurora.org>
2021-02-11 13:10:00 -08:00
Anand Ravi
00018eb528 msm: camera: isp: Toggle DSP clock in IFE for HVX usecase
Currently, IFE DSP clock doesn't get enabled at hardware initialization
during the VFE hardware start sequence. This change adds support to
enable DSP clock when hardware manager initializes VFE and disable DSP
clock when VFE is deinitialized.

CRs-Fixed: 2846451
Change-Id: Ia45f6b741e395ceb688ef8518a70a09c69c08c74
Signed-off-by: Anand Ravi <ananravi@codeaurora.org>
2021-02-11 09:39:24 -08:00
Gaurav Jindal
0af8352ea8 msm: camera: isp: Add separate base for CSID
Each prepare packet may not have the CSID command buffer, so
need to avoid the CSID base change if there is no command buffer.
This commit adds infrastructure to compute the cmd buffer count
for different hw before adding the command buffers. CSID base change
is not done if there is no CSID cmd buffer. This can be enhanced
to add other hw as well.

CRs-Fixed: 2830502
Change-Id: I0880c4567d3c50beb66b160c4aac7bf4a8f7f748
Signed-off-by: Gaurav Jindal <gjindal@codeaurora.org>
2021-02-11 12:52:45 +05:30
Haritha Chintalapati
3a3f1eeb26 Merge "msm: camera: cpas: Fix CPAS DT parsing probe issue" into camera-kernel.lnx.5.0 2021-02-10 16:06:35 -08:00
Haritha Chintalapati
1cb2a58c04 Merge "msm: camera: isp: Add dynamic enabling of IRQ in controller" into camera-kernel.lnx.5.0 2021-02-10 16:06:24 -08:00
Karthik Anantha Ram
497078ace1 msm: camera: isp: SFE enhancements
Update logging for SFE driver. Handle addIO for
IFE bus rd in case of SFE.

CRs-Fixed: 2841729
Change-Id: I6f0ab318d0deb70ba71cb671ee09bac7a657be6a
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
2021-02-09 21:45:17 -08:00
Jigar Agrawal
bfab1a634a msm: camera: cdm: Improve cdm debug registers dump
Improve the cdm debug register dump to dump more
registers and more information.

CRs-Fixed: 2874806
Change-Id: Ica9a5b63bbb30c59463c6b2c0115a452def0fcf8
Signed-off-by: Jigar Agrawal <jigar@codeaurora.org>
2021-02-09 17:49:28 -08:00
Haritha Chintalapati
0b0144c94e Merge "msm: camera: csiphy: Correct return code" into camera-kernel.lnx.5.0 2021-02-09 14:40:40 -08:00
Haritha Chintalapati
3afca1a7c5 Merge "msm: camera: icp: Use paddr when loading FW elf segments" into camera-kernel.lnx.5.0 2021-02-09 14:40:26 -08:00
Haritha Chintalapati
729089b1be Merge "msm: camera: isp: Unsubscribe for buf done IRQ" into camera-kernel.lnx.5.0 2021-02-09 14:40:04 -08:00