Graphe des révisions

1414 Révisions

Auteur SHA1 Message Date
Haritha Chintalapati
53e46fdafa Merge "msm: camera: cre: Add CRE driver changes" into camera-kernel.lnx.5.0 2021-04-01 21:08:21 -07:00
Haritha Chintalapati
68934ef08c Merge "msm: camera: isp: Add per frame register support" into camera-kernel.lnx.5.0 2021-03-31 18:32:14 -07:00
Haritha Chintalapati
c2e541cf89 Merge "msm: camera: isp: Address minor issues in SFE driver" into camera-kernel.lnx.5.0 2021-03-31 18:32:04 -07:00
Haritha Chintalapati
a5ea020be6 Merge "msm: camera: utils: Fix crash due to IRQ unsubscribe in top half" into camera-kernel.lnx.5.0 2021-03-31 18:31:54 -07:00
Vikram Sharma
23762a67ed msm: camera: cre: Add CRE driver changes
Add new camera driver Camera Reformat Engine (CRE).

CRs-Fixed: 2893978
Change-Id: Ia39b222493393bf7bb72525c86f0060ca0dc77c2
Signed-off-by: Vikram Sharma <vikramsa@codeaurora.org>
2021-03-31 02:49:52 -07:00
Savita Patted
4aa9286fd7 Merge "msm: camera: csiphy: Update the csiphy programming sequence" into camera-kernel.lnx.5.0 2021-03-30 21:23:30 -07:00
Anand Ravi
441200a543 msm: camera: utils: Fix crash due to IRQ unsubscribe in top half
Iterate through the list of top half events safely to allow for
unsubscribing (list deletion and freeing the pointer) during top half
processing.

CRs-Fixed: 2910416
Change-Id: I5f079f47645c7222546610d8a5de39d86695b39d
Signed-off-by: Anand Ravi <ananravi@codeaurora.org>
2021-03-30 08:54:10 -07:00
Savita Patted
7abc280ea9 Merge "msm: camera: isp: Add MID values" into camera-kernel.lnx.5.0 2021-03-29 19:21:13 -07:00
Savita Patted
49f6c24ee9 Merge "msm: camera: isp: Add new ports for TFE" into camera-kernel.lnx.5.0 2021-03-29 18:42:59 -07:00
Savita Patted
69c1bef608 Merge "msm: camera: isp: Fix for wrong CPAS version selection in WM start" into camera-kernel.lnx.5.0 2021-03-29 18:42:38 -07:00
Savita Patted
82881589b0 Merge "msm: camera: cpas: Do not program flag out set0" into camera-kernel.lnx.5.0 2021-03-29 18:42:18 -07:00
Savita Patted
aeef497955 Merge "msm: camera: isp: Change warn logs to rate limited" into camera-kernel.lnx.5.0 2021-03-29 18:41:51 -07:00
Savita Patted
91b3458f97 Merge "msm: camera: isp: Enhancements to HW manager" into camera-kernel.lnx.5.0 2021-03-29 18:41:26 -07:00
Savita Patted
5e47b695d8 Merge "msm: camera: memmgr: Add support for secure allocations" into camera-kernel.lnx.5.0 2021-03-29 18:41:03 -07:00
Savita Patted
0e1f0790e3 Merge "msm: camera: isp: VFE top remove unused values" into camera-kernel.lnx.5.0 2021-03-29 18:35:08 -07:00
Savita Patted
d09bc74fb6 Merge "msm: camera: csiphy: Dump CSIPHY Status Reg at SOF freeze" into camera-kernel.lnx.5.0 2021-03-29 18:34:17 -07:00
Karthik Anantha Ram
ba07f3db4d msm: camera: isp: Address minor issues in SFE driver
Update index of debug status register when dumping hung module info.
Also update a log in sfe bus wr.

CRs-Fixed: 2841729
Change-Id: Ide5c6f2a8c564f785749c1045ca2fa27bb30422c
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
2021-03-29 15:42:23 -07:00
Jigar Agrawal
742e1a78fa msm: camera: csiphy: Update the csiphy programming sequence
Update the bring up sequence for csiphy2.1.0 with the
revision U.

CRs-Fixed: 2895820
Change-Id: I59b52d0bb52b82b23d83fd138e93302792dc6203
Signed-off-by: Jigar Agrawal <jigar@codeaurora.org>
2021-03-26 13:18:12 -07:00
Wyes Karny
e4715ee186 msm: camera: isp: Add per frame register support
Adding per frame register dump for camera version 2 targets.

CRs-Fixed: 2778464
Change-Id: I0f45e021959d1b812807f9e7500645f2d8365f54
Signed-off-by: Wyes Karny <wkarny@codeaurora.org>
2021-03-26 09:42:28 +05:30
Savita Patted
ace7062343 Merge "msm: camera: isp: Add last consumed address check for 680 hardware" into camera-kernel.lnx.5.0 2021-03-25 19:37:36 -07:00
Savita Patted
196e9543f7 Merge "msm: camera: isp: Move packer format alignment value to header" into camera-kernel.lnx.5.0 2021-03-25 19:36:49 -07:00
Savita Patted
1014bd890f Merge "msm: camera: isp: Fix CSID RX error top half null check" into camera-kernel.lnx.5.0 2021-03-25 19:35:38 -07:00
Wyes Karny
0b7f4c8984 msm: camera: isp: Fix for wrong CPAS version selection in WM start
Add fix for wrong CPAS version selection in WM start.

CRs-Fixed: 2889723
Change-Id: Ic11f4ced601f3bb5f0f557714a1d2bd1f2143b78
Signed-off-by: Wyes Karny <wkarny@codeaurora.org>
2021-03-25 16:53:38 +05:30
Chandan Kumar Jha
54de1ed8f1 msm: camera: csiphy: Dump CSIPHY Status Reg at SOF freeze
PHY status dump analysis need to be done to check issue
with transmitter when SOF freeze occurs as recommended by
PHY HW team.

CRs-Fixed: 2890861
Change-Id: I99d7c0dca85c8f2f491a29c774bacf31d4bc641f
Signed-off-by: Chandan Kumar Jha <cjha@codeaurora.org>
2021-03-25 14:10:58 +05:30
Savita Patted
e08282e5b5 Merge "msm: camera: cpas: Update bus node level parsing logic" into camera-kernel.lnx.5.0 2021-03-24 19:53:28 -07:00
Savita Patted
520829f658 Merge "msm: camera: cdm: Fix of_match table null entry" into camera-kernel.lnx.5.0 2021-03-24 19:53:05 -07:00
Savita Patted
6c2a837117 Merge "msm: camera: isp: Check whether flush list is empty" into camera-kernel.lnx.5.0 2021-03-24 19:52:10 -07:00
Savita Patted
c28d6db385 Merge "msm: camera: isp: Add CSID debug info" into camera-kernel.lnx.5.0 2021-03-24 19:51:43 -07:00
Savita Patted
45a7f22b72 Merge "msm: camera: utils: Add priority to debug logs" into camera-kernel.lnx.5.0 2021-03-24 19:51:18 -07:00
Anand Ravi
aadc0947af msm: camera: isp: Add last consumed address check for 680 hardware
Enable verifying last consumed address on 680 hardware.

CRs-Fixed: 2846451
Change-Id: I217e11a5fc7b56aeebd41ee06a7cf913e0cf18de
Signed-off-by: Anand Ravi <ananravi@codeaurora.org>
2021-03-24 15:35:29 -07:00
Jigar Agrawal
c92b392f15 msm: camera: isp: Add MID values
Add MID values for sfe and vfe.

CRs-Fixed: 2899951
Change-Id: Ic219b221dd651f8d490f399ea6af23ef85cd4a45
Signed-off-by: Jigar Agrawal <jigar@codeaurora.org>
2021-03-24 10:23:58 -07:00
Karthik Anantha Ram
eea72274db msm: camera: isp: Enhancements to HW manager
Consolidate all the hw_mgr ctx flags into one unified structure.
Print acquire info for SFE HWs as well.

CRs-Fixed: 2841729
Change-Id: I6c135958f67968279b36e3b8a1e7975c5ca53f5c
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
2021-03-24 09:59:58 -07:00
Anand Ravi
89f09da4f2 msm: camera: isp: VFE top remove unused values
Removes unused struct members and function definitions from VFE top.
Also removes non-existent ports from 680 header file.

CRs-Fixed: 2899610
Change-Id: Ia4727c4402e354851a5c9ec97d4b18bebf5e6654
Signed-off-by: Anand Ravi <ananravi@codeaurora.org>
2021-03-24 09:48:44 -07:00
Anand Ravi
d02c28610c msm: camera: isp: Fix CSID RX error top half null check
Reverse the order of assignment and null check to ensure proper working
of the top half function.

CRs-Fixed: 2906822
Change-Id: Ie4aadd0dfb5b6f1da6167abb07ceb0aee52afb12
Signed-off-by: Anand Ravi <ananravi@codeaurora.org>
2021-03-23 21:52:22 -07:00
Savita Patted
75f34dc77d Merge "msm: camera: isp: Print the faulting IFE/SFE module" into camera-kernel.lnx.5.0 2021-03-23 18:47:12 -07:00
Savita Patted
93be89f6f5 Merge "msm: camera: isp: Assign max hw update entries based on stream type" into camera-kernel.lnx.5.0 2021-03-23 18:46:51 -07:00
Savita Patted
dd01debce6 Merge "msm: camera: common: Use pdev name for soc dev name" into camera-kernel.lnx.5.0 2021-03-23 18:46:30 -07:00
Savita Patted
1258f67a3c Merge "msm: camera: isp: Address SFE BW issues" into camera-kernel.lnx.5.0 2021-03-23 18:45:54 -07:00
Savita Patted
17ab2b21c6 Merge "msm: camera: common: Add AON support" into camera-kernel.lnx.5.0 2021-03-23 18:44:50 -07:00
Savita Patted
a15b36d2db Merge "msm: camera: icp: Increase the max_in and out resource macros" into camera-kernel.lnx.5.0 2021-03-23 18:44:00 -07:00
Mukund Madhusudan Atre
b79fdb73ef msm: camera: isp: Move packer format alignment value to header
For new arch, packer format alignment bit has changed. Move it
to header to allow different values for targets.

CRs-Fixed: 2841729
Change-Id: I55d0347963c367d9cc814a583e5009b41c9efd59
Signed-off-by: Mukund Madhusudan Atre <matre@codeaurora.org>
2021-03-23 14:34:23 -07:00
Mukund Madhusudan Atre
d099238a67 msm: camera: cpas: Update bus node level parsing logic
Currently, the order in which we read the camera bus nodes
is dependent of the order camera device tree is laid out,
which causes issues if the arragement is changed. Update DT
parsing logic to read node levels independent of arrangement.

CRs-Fixed: 2841729
Change-Id: I73f2aa27a71d6521fe4e1fc9af95293411bd75c2
Signed-off-by: Mukund Madhusudan Atre <matre@codeaurora.org>
2021-03-23 12:36:03 -07:00
Wyes Karny
dc1bf6d21b msm: camera: isp: Add new ports for TFE
Add support for new TFE ports.
New ports: DS4, DS16, AI, STATS RS, and independent PDAF.
Add new HW file. Remove older HW specific hard coding.

Depends-on: 3563428
CRs-Fixed: 2887030
Change-Id: I8ad7b0037652db39fe5a2e86af28028a3740f1f4
Signed-off-by: Wyes Karny <wkarny@codeaurora.org>
2021-03-23 04:22:42 -07:00
Depeng Shao
73ee140ad0 msm: camera: isp: Check whether flush list is empty
We will get invalid req from flush_list if the
flush list is empty when we get each req by
list API list_for_each_entry_safe. This change
checks whether flush list is empty before
accessing this list.

CRs-Fixed: 2885145
Change-Id: I9b2828b03706a0f7412828905cc0a9e28d15fd76
Signed-off-by: Depeng Shao <depengs@codeaurora.org>
2021-03-22 21:41:58 -07:00
Pavan Kumar Chilamkurthi
5f0f2e90ed msm: camera: cpas: Do not program flag out set0
Writing this register was a workaround for icp priority
on older chipsets. No need to write this anymore as the
icp priotiy now comes from ICP itself. Though writing
this currently is functionally no-op, better to remove to
avoid any future conflicts with this register.

CRs-Fixed: 2722486
Change-Id: I06bf9f9706fd49145bad501dc4406cdfdf603392
Signed-off-by: Pavan Kumar Chilamkurthi <pchilamk@codeaurora.org>
2021-03-22 16:55:01 -07:00
Karthik Jayakumar
8abb54dcb1 msm: camera: cdm: Fix of_match table null entry
global-out-of-bounds issue on:
msm_cam_hw_cdm_dt_match
Due to no null-terminating struct in the array.

CRs-Fixed: 2883523
Change-Id: I36e4811f239993e1e6de158df959157217c28bfe
Signed-off-by: Karthik Jayakumar <kjayakum@codeaurora.org>
2021-03-22 16:53:25 -07:00
Haritha Chintalapati
48101628b5 Merge "msm: camera: isp: Remove unnecessary bound check in bw update path" into camera-kernel.lnx.5.0 2021-03-22 16:35:51 -07:00
Karthik Anantha Ram
8ed5423b26 msm: camera: isp: Print the faulting IFE/SFE module
In case of a module hang apart from printing the debug status
registers print the faulting module name as well.

CRs-Fixed: 2841729
Change-Id: I43c34df1d667e77827fce50b312741449c1c4e17
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
2021-03-21 20:32:33 -07:00
Karthik Anantha Ram
a17df881bf msm: camera: isp: Address SFE BW issues
Fix the logic classifying BW vote from userspace.
Correct log strings for SFE usage data.

CRs-Fixed: 2841729
Change-Id: Ife7eb5635e97b376a05696c1c5406972bcf4a7c8
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
2021-03-21 20:27:17 -07:00
Pavan Kumar Chilamkurthi
4def5ba7ab msm: camera: memmgr: Add support for secure allocations
Add secure allocation support with dma buf heaps.

CRs-Fixed: 2904440
Change-Id: Ide01e228d2ca4c7cde85eea5a6eef565c3c7d183
Signed-off-by: Pavan Kumar Chilamkurthi <pchilamk@codeaurora.org>
2021-03-21 00:09:15 -07:00