커밋 그래프

119 커밋

작성자 SHA1 메시지 날짜
Camera Software Integration
614dabb85f Merge "msm: camera: uapi: Add new IFE blob and update feature flag" into camera-kernel.lnx.5.0 2021-07-09 18:53:44 -07:00
Savita Patted
769d026c3a Merge "msm: camera: memmgr: Add support for non pix secure buffers" into camera-kernel.lnx.5.0 2021-07-08 18:59:30 -07:00
Karthik Anantha Ram
8a6b9bd10b msm: camera: uapi: Add new IFE blob and update feature flag
Add new BIT fields for IFE feature flag to indicate custom AEB
mode/shdr mode. Also add support to obtain epoch factor from
userland.

CRs-Fixed: 2986303
Change-Id: I1593b3ac3d1ace660bf58f2185f35e7f9986681c
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
2021-07-07 12:40:32 -07:00
Rishabh Jain
e2c7402dfd msm: camera: memmgr: Add support for non pix secure buffers
Add support to allocate such buffers which need to accessed
by non-pix VM.

CRs-Fixed: 2981372
Change-Id: Iac965a479e05d638c6323bfacd7c6a4d89f2a223
Signed-off-by: Rishabh Jain <risjai@codeaurora.org>
2021-07-06 11:31:00 +05:30
Savita Patted
9e5e021304 Merge "msm: camera: sensor: Add tpg driver support" into camera-kernel.lnx.5.0 2021-07-01 15:29:06 -07:00
Savita Patted
080f409f4e Merge "msm: camera: isp: Remove TPG code from hw manager" into camera-kernel.lnx.5.0 2021-07-01 15:26:45 -07:00
Ayush Kumar
e8e814eda9 msm: camera: req_mgr: CRM Code refactoring
Due to major changes in CRM code, refactoring CRM
kernel driver code. Fix apply threshold calculation logic.

CRs-Fixed: 2783209
Change-Id: I08ba6c89b0d4f0e982c017bab4226a569327f861
Signed-off-by: Ayush Kumar <ayushkr@codeaurora.org>
2021-06-29 18:18:35 +05:30
Tony Lijo Jose
caa6b2a1a4 msm: camera: sensor: Add tpg driver support
Add new tpg subdev driver. This change exposes the tpg hw as a new
subdev similar to that of a sensor driver.

CRs-Fixed: 2973850
Change-Id: I6fdb4457d8cc829546896f26bdde8765a4258e7c
Signed-off-by: Tony Lijo Jose <tjose@codeaurora.org>
2021-06-29 00:44:14 -07:00
Gaurav Jindal
52ac0ccc9f msm: camera: isp: Remove TPG code from hw manager
In upcoming targets, TPG will be supported as a separate node.
This commit removes the tpg code from ife/tfe hw manager.

CRs-Fixed: 2973850
Change-Id: I031302756d85e004fc3a07f9864daf2c16dd837b
Signed-off-by: Gaurav Jindal <gjindal@codeaurora.org>
2021-06-29 12:30:22 +05:30
Chandan Kumar Jha
fd65327ebd msm: camera: isp: Add support of new out ports for VFE 780
Add support of new stats out ports in vfe driver for VFE 780.

CRs-Fixed: 2948116
Change-Id: I2d0a13fe90f49b66839ea90b5d9882fd7c6528be
Signed-off-by: Chandan Kumar Jha <cjha@codeaurora.org>
2021-06-17 11:16:59 +05:30
Camera Software Integration
19d782fd36 Merge "msm: camera: isp: Add support for vertical binning in CSID" into camera-kernel.lnx.5.0 2021-06-10 17:32:46 -07:00
Camera Software Integration
69b929466b Merge "msm: camera: common: Multiple fixes for crm redesign" into camera-kernel.lnx.5.0 2021-06-09 19:15:15 -07:00
Karthik Anantha Ram
1b89b74b0a msm: camera: isp: Add support for vertical binning in CSID
Add support to obtain hint from userland to enable binning in
either direction. The change updates the existing binning field
in UAPI to provide provision for both vertical & horizontal
binning options.

CRs-Fixed: 2841729
Change-Id: I37958d648ed4387d9e2bff8bcff8ffd39801baa3
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
2021-06-09 10:58:08 -07:00
Camera Software Integration
51efdc40d3 Merge "msm: camera: isp: Add 780 vfe header files" into camera-kernel.lnx.5.0 2021-06-04 16:22:43 -07:00
Ayush Kumar
566ac7abf8 msm: camera: common: Multiple fixes for crm redesign
This change help to resolve below issues :-
1. Update frame duration calculation
   Add frame duration calculation with the use of fps. In some cases
   where horizonal blanking is more, frame duration calculation based
   on sof epoch calculation is not accurate.
2. Corner case in bubble handling
   Add support to handle master link bubble even if ISP linked with
   slave link receive few buf done irq for bubble request before master
   sends slave link to bubble state.

CRs-Fixed: 2783209
Change-Id: Ibf35f31f5263be7b6a6be6cd095447a2910a6878
Signed-off-by: Ayush Kumar <ayushkr@codeaurora.org>
2021-06-05 00:16:43 +05:30
Jigarkumar Zala
2dbc434daa msm: camera: uapi: Enable preamble control notification
Enable preamble control notificaion for disable preprogrammed
CDR setting for certain resolution sensor mode.

CRs-Fixed: 2943640
Change-Id: I31705cd14239d5610c4f12c2d9e9417eead3c886
Signed-off-by: Jigarkumar Zala <jzala@codeaurora.org>
2021-06-01 09:24:42 -07:00
Gaurav Jindal
aab4a85f58 msm: camera: isp: Add 780 vfe header files
Add vfe 780 header files.

CRs-Fixed: 2948116
Change-Id: Ibc569bad749f6b29448067330a1355f918e9eacd
Signed-off-by: Gaurav Jindal <gjindal@codeaurora.org>
2021-05-30 19:45:32 +05:30
Karthik Anantha Ram
8dc42065be msm: camera: isp: Add support for BW limiter
Add blob to allow userland to configure BW limter for IFE/SFE
WMs. Deprecate usage of BW limiter field in UBWC blob.

CRs-Fixed: 2841729
Change-Id: Id39414e2a6f9e9f9f4ae33aa245f3ab6f3ad0f45
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
2021-05-26 09:44:39 -07:00
Karthik Anantha Ram
cf9c149e52 msm: camera: uapi: Add support to drop initial sensor frames
This change introduces a blob to obtain number of frames to be
dropped in CSID when sensor is streamed on. This parameter will
be applicable for all paths in the pipeline.

CRs-Fixed: 2841729
Change-Id: Idcf1f6c8223f885c82883aa1d5fdf6981ffcc813
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
2021-05-03 20:02:38 -07:00
Camera Software Integration
6c5c19ff95 Merge "msm: camera: uapi: Add interface for obtaining exposure order" into camera-kernel.lnx.5.0 2021-04-28 21:23:43 -07:00
Camera Software Integration
1ef8803d10 Merge "msm: camera: flash: Get the flash on wait time from userspace" into camera-kernel.lnx.5.0 2021-04-28 21:23:12 -07:00
Depeng Shao
0118523efd msm: camera: flash: Get the flash on wait time from userspace
This change gets the flash on wait time from userspace to
control the precise flash.

CRs-Fixed: 2929276
Change-Id: Ieac18f6e049b446c5a7b20dcfdff013aa9838575
Signed-off-by: Depeng Shao <depengs@codeaurora.org>
2021-04-23 13:00:39 +08:00
Jigar Agrawal
76857940be msm: camera: reqmgr: Propagate hw failures to user
Propagate error code to user in order to let the
user know more about the failure.

CRs-Fixed: 2860306
Change-Id: Icf030aa9df32eac97371059c2d282cfb53257401
Signed-off-by: Jigar Agrawal <jigar@codeaurora.org>
2021-04-19 19:07:15 -07:00
Karthik Anantha Ram
328a60b14b msm: camera: uapi: Add interface for obtaining exposure order
Add UAPI interface to obtain exposure order for SFE RDIs.

CRs-Fixed: 2841729
Change-Id: I6c01921d795645b825d007328332dad3c74523a6
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
2021-04-15 13:58:23 -07:00
Wyes Karny
4e535ac459 msm: camera: isp: Add support for new CSID
Add CSID640 support. The following features support are added:
  - QCFA binning and BAYER binning support
  - Format measure support
  - Multi VC DT support
  - Add core_cfg support in in_port structure

CRs-Fixed: 2887030
Change-Id: Idd7d081c985f3ef21e0fee7ce4c1b8db96ddd3c3
Signed-off-by: Wyes Karny <wkarny@codeaurora.org>
2021-04-12 01:34:13 -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
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
Savita Patted
0626095cbc Merge "msm: camera: isp: Re-assign WMs for UAPI port names" into camera-kernel.lnx.5.0 2021-03-16 17:42:58 -07:00
Vikram Sharma
120169c774 msm: camera: cre: Add UAPI changes for CRE driver
This change adds UAPI interface file for CRE driver

CRs-Fixed: 2893978
Change-Id: I46b29755e1c7d9352d86250dbf6e7e31ab2ead0b
Signed-off-by: Vikram Sharma <vikramsa@codeaurora.org>
2021-03-14 16:58:00 +05:30
Karthik Anantha Ram
5ce6aebaad msm: camera: isp: Re-assign WMs for UAPI port names
Switch WMs for current 2PD and 2PD_STATS ports. Rename
2PD_STATS to PREPROCESS_2PD inline with UMD notion.

CRs-Fixed: 2841729
Change-Id: I735ef397cfd6328aa2fef73970def0b64044fe2e
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
2021-03-11 15:52:10 -08:00
Savita Patted
7d07226d92 Merge "msm: camera: sensor: Make some of the sensor enums uapi" into camera-kernel.lnx.5.0 2021-03-10 16:10:24 -08:00
Savita Patted
b2062b243b Merge "msm: camera: isp: Add new packer format to support LSB alignment" into camera-kernel.lnx.5.0 2021-03-09 20:18:07 -08:00
Jigar Agrawal
2bd4bd4aea msm: camera: sensor: Make some of the sensor enums uapi
Move sensor enums that are used by user mode
to uapi file for a synchronus operation. Currently,
user mode and kernel maintains two separate
copies of the same structure, so making a
change in these structure is error prone, since
there is no synchronization.

CRs-Fixed: 2894834
Change-Id: I3f413d03d7981ed3c886e684b11421cae7a39fca
Signed-off-by: Jigar Agrawal <jigar@codeaurora.org>
2021-03-09 11:03:08 -08:00
Savita Patted
24206e090b Merge "msm: camera: reqmgr: Add support to increase the crm handles" into camera-kernel.lnx.5.0 2021-03-09 01:30:51 -08:00
Savita Patted
505f88c7a3 Merge "msm: camera: uapi: Add support for new OPE ports" into camera-kernel.lnx.5.0 2021-03-09 01:30:22 -08:00
Jigar Agrawal
b621d13226 msm: camera: reqmgr: Add support to increase the crm handles
Add support to increase the number of available handles
in CRM to 256.

CRs-Fixed: 2811740
Change-Id: I16d05e85302f273ccb2b22ec882c07f9b515694d
Signed-off-by: Jigar Agrawal <jigar@codeaurora.org>
2021-03-03 18:18:42 -08:00
Haritha Chintalapati
280c7b643c Merge "msm: camera: uapi: Add register base support for CSID/SFE" into camera-kernel.lnx.5.0 2021-03-02 18:52:09 -08:00
Wyes Karny
547fd9371d msm: camera: uapi: Add support for new OPE ports
Add support for new ports for OPE in ICP.
New ports: FD, STATS_IHIST for IPE.

CRs-Fixed: 2887030
Change-Id: I41669f27f08a352088b0ed4ed29f2ed443fd02a4
Signed-off-by: Wyes Karny <wkarny@codeaurora.org>
2021-03-02 04:18:08 -08:00
Karthik Anantha Ram
c19081ce1c msm: camera: uapi: Add register base support for CSID/SFE
Add new register base types to extend reg dump infrastructure
for Waipio.

CRs-Fixed: 2841729
Change-Id: I78888537721dd3e67a38b7196acf04309d1de957
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
2021-02-26 15:53:40 -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
Vikram Sharma
2a948f7cc0 msm: camera: isp: Add new packer format to support LSB alignment
Add new packer format to support LSB alignment for plain16_10
packer format.

CRs-Fixed: 2825675
Change-Id: I401241dc14dc67d3b363d3d39b37aabe716e167c
Signed-off-by: Vikram Sharma <vikramsa@codeaurora.org>
2021-02-24 23:34:33 -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
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
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
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
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
Camera Software Integration
43c1caa9f5 Merge "msm: camera: config: Makefile update to support GKI 2.0" into camera-kernel.lnx.5.0 2021-01-20 16:22:50 -08:00
Jigar Agrawal
7adee41eee msm: camera: sensor: Add support to hold sensor name
Add support for the new version a sensor probe
structure to hold the sensor name information
along with the existing informations.

CRs-Fixed: 2856300
Change-Id: Ib195455fbfe02b8d4035105bc6958d11c2a0faf6
Signed-off-by: Jigar Agrawal <jigar@codeaurora.org>
2021-01-15 18:25:13 -08:00
Chandan Kumar Jha
1975888f48 msm: camera: isp: Move epd support from blob to acquire time
This change moves epd support from blob to acquire.

CRs-Fixed: 2830502
Change-Id: I9794e5fe0fcad1c38c095a8d5b346f840d125da3
Signed-off-by: Chandan Kumar Jha <cjha@codeaurora.org>
2021-01-13 16:54:03 +05:30
Karthik Anantha Ram
933cf650a1 msm: camera: isp: Add support for IFE epoch config
Add support to configure IFE epoch for SFE QCFA HDR
or binning use-cases.

CRs-Fixed: 2841729
Change-Id: I958656ddbe4e28d3247e317b021da5e963b03679
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
2021-01-11 10:36:27 -08:00