Commit Graph

2801 Commits

Author SHA1 Message Date
Karthik Anantha Ram
cac38ca1aa msm: camera: uapi: Add support for ICP query cap v2
The change updates new query cap v2 structure for ICP
to relay new HW related info to userland. The new query
cap structure provides detailed info on the HW cores being
supported and handled for each instance of the ICP driver.
The change also adds provision to obtain hw fence info as part
of query caps.

CRs-Fixed: 3374291
Change-Id: Iebd80bd87a495887b09296a09bea36c3690b9f92
Signed-off-by: Karthik Anantha Ram <quic_kartanan@quicinc.com>
2023-01-20 15:06:19 -08:00
Petar Ivanov
d82dbbff8a msm: camera: common: Add hw mgr intf query cap v2
Add switch case to handle query cap v2 ioctl, and add query cap
v2 hw mgr intf function pointer to handle query cap v2.

CRs-Fixed: 3364267
Change-Id: I1f992982f8d06755c977839ee61ee450306d65a5
Signed-off-by: Petar Ivanov <quic_pivanov@quicinc.com>
Signed-off-by: Sokchetra Eung <quic_eung@quicinc.com>
2023-01-20 15:06:11 -08:00
Savita Patted
b549791b22 Snap for drop 01/19/2023 mainline 911 LA.VENDOR.14.3.0.AU137
camera-kernel:
124aeb5 Merge "msm: camera: csiphy: Update CSIPHY header for SM8650" into camera-kernel.lnx.dev
7d87879 Merge "msm: camera: isp: Don't Bypass SFE pxl pipeline for FS use-case" into camera-kernel.lnx.dev.

Change-Id: I7ada7ad714f15e653de5fe225535a65716186b0e
Signed-off-by: Savita Patted <quic_spatted@quicinc.com>
2023-01-19 17:36:08 -08:00
Chandan Kumar Jha
c7600796cb msm: camera: isp: Don't Bypass SFE pxl pipeline for FS use-case
Problem Description:

For Spectra880, SFE pxl pipeline is getting bypass for FS use-case.

Solution:

For Spectra880, Don't Bypass the SFE pxl pipeline for FS use-case.

Prior to Spectra880 the entire SFE pxl pipeline was bypassed for FS
use-case.

CRs-Fixed: 3376488
Change-Id: Ib7b060e12ec34e733929cf002c5cda6a55cc58b3
Signed-off-by: Chandan Kumar Jha <quic_cjha@quicinc.com>
2023-01-19 17:06:18 -08:00
Wang Kan
fcd14c1b1a msm: camera: csiphy: Update CSIPHY header for SM8650
Update CSIPHY header for SM8650.

CRs-Fixed: 3335789
Change-Id: I79fed4330cd36e2b1464b9d5667678187a163cd1
Signed-off-by: Wang Kan <quic_wkan@quicinc.com>
2023-01-19 17:06:10 -08:00
Savita Patted
f3a5cce29c Snap for drop 01/18/2023 mainline 910 LA.VENDOR.14.3.0.AU137.
camera-kernel:
3e2a39f Merge "msm: camera: isp: Dump sfe bus info when handling sfe hw err" into camera-kernel.lnx.dev
8a59ef5 Merge "msm: camera: isp: Add support for SFE bus mini dump" into camera-kernel.lnx.dev
3cc484d Merge "msm: camera: sensor: Clock change for init settings" into camera-kernel.lnx.dev
50f9e3f Merge "msm: camera: sensor: Removing some dead code" into camera-kernel.lnx.dev.

Change-Id: I94ebe9a2cec4bf27d9680771ef768f38ad32b6f3
Signed-off-by: Savita Patted <quic_spatted@quicinc.com>
2023-01-18 13:36:09 -08:00
Depeng Shao
40f354b732 msm: camera: sensor: Removing some dead code
Removing some dead code, the power info and
soc private are never used after assignment.

CRs-Fixed: 3376960
Change-Id: I0038cad043ea53ffd18d711f338e094ff0f919cc
Signed-off-by: Depeng Shao <quic_depengs@quicinc.com>
2023-01-18 12:36:44 -08:00
Shivi Mangal
3f157fddcd msm: camera: sensor: Clock change for init settings
This change allows the tpg clock configuration to be directly picked
up from the get_tpg_clk_level function.

CRs-Fixed: 3376775.

Change-Id: I9a9ef232fd7f0c79c3f6683dc7838555dd02e3f2
Signed-off-by: Shivi Mangal <quic_smangal@quicinc.com>
2023-01-18 12:36:36 -08:00
Stark Lin
d7f5c49a78 msm: camera: isp: Dump sfe bus info when handling sfe hw err
Dump sfe bus info when handling sfe hw err.

CRs-Fixed: 3334217
Change-Id: Ibdde623ccf42d5213f2865695efaa64fa14536ac
Signed-off-by: Stark Lin <quic_starlin@quicinc.com>
2023-01-18 12:36:25 -08:00
Stark Lin
90f61454c5 msm: camera: isp: Add support for SFE bus mini dump
This change Adds support for SFE bus info dump while mini_dump.

CRs-Fixed: 3334217
Change-Id: Ie7072880ce8c962656c5755f0fb375d674b84684
Signed-off-by: Stark Lin <quic_starlin@quicinc.com>
2023-01-18 12:36:13 -08:00
Savita Patted
08939abc82 Snap for drop 01/13/2023 mainline 909 & 908 LA.VENDOR.14.3.0.AU132
camera-kernel:
85e592a Merge "msm: camera: sensor: Add register settings in TPG" into camera-kernel.lnx.dev
b5f10d7 Merge "msm: camera: icp: Multiple ICPs Log Enhancement" into camera-kernel.lnx.dev.

Change-Id: Iba504050935dcd489ec50d74d96031fd97583792
Signed-off-by: Savita Patted <quic_spatted@quicinc.com>
2023-01-13 16:36:06 -08:00
Shivi Mangal
953b2ced40 msm: camera: sensor: Add register settings in TPG
This change allows the tpg hw register configurations to be directly
programmed from the tpg xml file. The regsettings array can be configured
with the right configurations for the required mode, if regsettings are
not provided in regsettings array. The settings are derived from the
stream configurations and global configurations.

CRs-Fixed: 3289930.

Change-Id: If44678475986efc0f26c334f5db4f9c59cd6873b
Signed-off-by: Shivi Mangal <quic_smangal@quicinc.com>
2023-01-13 15:36:05 -08:00
Petar Ivanov
5614df0d47 msm: camera: icp: Multiple ICPs Log Enhancement
Modifying the info/error/dbg logs in hw mgr, context and hfi
layers to spit out relevant info to determine which ICP device
is running the execution.

Change type defination of hw_dev_type to enum in local instances in
functions and the field of hw ctx struct.

CRs-Fixed: 3361905
Change-Id: Ib50208eaf243c50678d07845461c750b36d19bf9
Signed-off-by: Petar Ivanov <quic_pivanov@quicinc.com>
Signed-off-by: Sokchetra Eung <quic_eung@quicinc.com>
2023-01-13 15:06:10 -08:00
Savita Patted
92e59f3c6a Snap for drop 01/09/2023 mainline 906 LA.VENDOR.14.3.0.AU132
e5d0daa Merge "msm: camera: common: Resolve potential data race conditions" into camera-kernel.lnx.dev
070e31a Merge "msm: camera: common: Removing dead code from the camera driver" into camera-kernel.lnx.dev.

Change-Id: Iedd18884586ea505b6c46df4c669aa795b02db44
Signed-off-by: Savita Patted <quic_spatted@quicinc.com>
2023-01-09 19:06:11 -08:00
Dharmender Sharma
c7c2597175 msm: camera: common: Resolve potential data race conditions
Add locks before shared variable access in request manager, csid driver
and smmu appi files to avoid data race conditions.

CRs-Fixed: 3348931
Change-Id: Ifa860bf157047f23bd2bc460a16e9405de0d5c83
Signed-off-by: Dharmender Sharma <quic_dharshar@quicinc.com>
2023-01-09 17:36:16 -08:00
Yash Upadhyay
ee6f0d4042 msm: camera: common: Removing dead code from the camera driver
Removing dead code from the camera driver code. While dumping camif reg
we were incorrectly updating register offset value, which is leading to
dead code. This change will fix those offset values.

CRs-Fixed: 3330567
Change-Id: I04b39bec05141f4dd194f73cc7423164817fec1d
Signed-off-by: Yash Upadhyay <quic_yupadhya@quicinc.com>
2023-01-09 17:36:10 -08:00
Savita Patted
36601eebb9 Snap for drop 01/05/2023 mainline 904 LA.VENDOR.14.3.0.AU117
camera-kernel:
d0e2add Merge "msm: camera: sync: Release spinlock prior to calling synx" into camera-kernel.lnx.dev.

Change-Id: I47e7f71a5bfada486d5e3bd4c958d3cc77b14e3b
Signed-off-by: Savita Patted <quic_spatted@quicinc.com>
2023-01-05 18:06:08 -08:00
Karthik Anantha Ram
8b2265fe1f msm: camera: sync: Release spinlock prior to calling synx
Mutex is the synchronization primitive used in synx, which
can sleep. Holding the spin lock and invoking synx APIs could
deadlock the system. Release spin lock and invoke synx driver.

CRs-Fixed: 3365172
Change-Id: I01291fdd96df772f4cb1d87a44d79dd4a62fdc26
Signed-off-by: Karthik Anantha Ram <quic_kartanan@quicinc.com>
2023-01-05 17:36:09 -08:00
Savita Patted
2b9af92731 Snap for drop 01/04/2023 mainline 903 LA.VENDOR.14.3.0.AU117
camera-kernel:
be50d13 Merge "msm: camera: sensor: BIG endian write for QTime" into camera-kernel.lnx.dev
ca9b1d4 Merge "msm: camera: isp: Read bus consumed addr at bus irq top half" into camera-kernel.lnx.dev
7f4db48 Merge "msm: camera: isp: Handling override of error code variable" into camera-kernel.lnx.dev
6129f5f Merge "msm: camera: isp: Add new outports for Spectra v980" into camera-kernel.lnx.dev.

Change-Id: Ifa3a9ddd0cad183e7d3b02761d6fe5e31a4c75bd
Signed-off-by: Savita Patted <quic_spatted@quicinc.com>
2023-01-04 17:06:06 -08:00
chengxue
2242eaefa8 msm: camera: isp: Read bus consumed addr at bus irq top half
Move the read of consumed addr to bus top half, as the tasklet
may delay and cannot readout the consumed addr in time.

CRs-Fixed: 3362499
Change-Id: I9742b117f433df6275ae5058d62e77ffce1f9a3f
Signed-off-by: chengxue <quic_chengxue@quicinc.com>
2023-01-04 16:36:21 -08:00
Yash Upadhyay
46c6ecdb5f msm: camera: isp: Handling override of error code variable
Handling override of error code variable by adding proper check.

CRs-Fixed: 3358685
Change-Id: I5f1040ef46b4789f8bf0ae5c38d4a7ddb4c15145
Signed-off-by: Yash Upadhyay <quic_yupadhya@quicinc.com>
2023-01-04 16:36:16 -08:00
Yulei Yao
84c92a55f5 msm: camera: sensor: BIG endian write for QTime
DW9784 needs Big endian type when QTime is written
into registers.

CRs-Fixed: 3359195
External Impact: No.

Change-Id: I6c141de255dbedb933ca5529f5ce4562d93a7c3a
Signed-off-by: Yulei Yao <quic_yuleiy@quicinc.com>
2023-01-04 16:36:11 -08:00
Ashish Bhimanpalliwar
fb89fa6125 msm: camera: isp: Add new outports for Spectra v980
Add new outports for Spectra v980.

CRs-Fixed: 3321317
Change-Id: I8303a04b5d15216744e017359f4a814c19d1a139
Signed-off-by: Ashish Bhimanpalliwar <quic_abhiman@quicinc.com>
Signed-off-by: Mukund Madhusudan Atre <quic_matre@quicinc.com>
2023-01-04 16:36:04 -08:00
Savita Patted
fbe4bb70a4 Snap for drop 12/21/2022 mainline 902 LA.VENDOR.14.3.0.AU117
camera-kernel:
60b3ff5 Merge "msm: camera: sensor: i2c driver remove call return value change" into camera-kernel.lnx.dev
cda05ac Merge "msm: camera: cpas: add camera cesta VCD level dump" into camera-kernel.lnx.dev

Change-Id: I5192f09ded47b5631e4f434963622093d4bc8927
Signed-off-by: Savita Patted <quic_spatted@quicinc.com>
2023-01-03 14:58:24 -08:00
Soumen Ghosh
64c1b33278 msm: camera: cpas: add camera cesta VCD level dump
This change will help to give information on  camera cesta current clk
operating level.

CRs-Fixed: 3327242
Change-Id: I0422d557985b1044fcd9bab2ce201b8c21e4e295
Signed-off-by: Soumen Ghosh <quic_soumeng@quicinc.com>
2023-01-03 14:58:22 -08:00
Savita Patted
0c91474a81 Snap for drop 12/20/2022 mainline 901 LA.VENDOR.14.3.0.AU117
camera-kernel:
91325a8 Merge "Revert "msm: camera: csiphy: Integrate mink call for secure camera"" into camera-kernel.lnx.dev
35c0b1d Merge "msm: camera: isp: Replace bit shift with mask for Bus comp groups" into camera-kernel.lnx.dev

Change-Id: I0aa8116982c7098cbd9d4695349beb3e41c8d34d
Signed-off-by: Savita Patted <quic_spatted@quicinc.com>
2023-01-03 14:45:47 -08:00
Savita Patted
7516e3a79e Merge "msm: camera: isp: Replace bit shift with mask for Bus comp groups" into camera-kernel.lnx.7.0 2023-01-03 14:19:15 -08:00
Li Sha Lim
aabbfaffeb Revert "msm: camera: csiphy: Integrate mink call for secure camera"
External dependency has been reverted, change not ready.
This reverts commit b76d66be06cb035886ddebbf7671e02c93fdd1af.

CRs-Fixed: 3317248
Change-Id: If82504f1eb22b1c908d08d256f3b4c4cbad60bc9
Signed-off-by: Li Sha Lim <quic_lishlim@quicinc.com>
2022-12-28 10:39:24 +05:30
Gaurav Jindal
2728cb90e2 msm: camera: isp: Replace bit shift with mask for Bus comp groups
In current code, composite done values are stored as shift values and
converted to mask in the driver logic. This causes redundant operations
in the code as the masks are static values.
This commit replaces the bit shift values with masks so that they
can be converted at the compile time thereby reducing some CPU
execution cycles during start and IRQ handlers.

CRs-Fixed: 3321317
Change-Id: I1507b4dbee4855ad866f69ed16b0b9dafe0a4e99
Signed-off-by: Gaurav Jindal <quic_gjindal@quicinc.com>
2022-12-21 17:24:09 -08:00
Savita Patted
d65382f14f Snap for drop 12/19/2022 mainline 900 LA.VENDOR.14.3.0.AU117
camera-kernel:
2878368 Merge "msm: camera: icp: Support multiple HFIs" into camera-kernel.lnx.dev
d2d03d6 Merge "msm: camera: icp: support OFE functionality in hw mgr" into camera-kernel.lnx.dev
54917b4 Merge "msm: camera: icp: UAPI update for v980" into camera-kernel.lnx.dev
9423656 Merge "msm: camera: icp: Add support for multiple ICP hw mgr" into camera-kernel.lnx.dev
996f858 Merge "msm: camera: sensor: Update the last updated req properly" into camera-kernel.lnx.dev

Change-Id: Ie58378d955fa93c4e2c33a42ebee6ff1a698bdd8
Signed-off-by: Savita Patted <quic_spatted@quicinc.com>
2022-12-21 17:24:09 -08:00
Soumen Ghosh
57ba3a5181 msm: camera: sensor: i2c driver remove call return value change
Due to i2c driver remove call return value changed from int to void
from 6.1 kernel version.

CRs-Fixed: 3366233
Change-Id: I81713fdd65a53af37b0b9c573407587755bc1bae
Signed-off-by: Soumen Ghosh <quic_soumeng@quicinc.com>
2022-12-21 17:24:09 -08:00
Sokchetra Eung
96ff2ea80b msm: camera: icp: Support multiple HFIs
During probe, each hw mgr register as a client to HFI layer and share
the handle to icp core layer to book keep. HFI register routine searches
for a free hfi slot to dynamically allocated hfi info struct and returns
a client handle to the caller. During open sequence, HW mgr is required to
initialize the hfi using the handle obtained from the registering in boot
up. Upon unregistering, the hfi slot and the hfi info memory is freed.
Hw mgr layer can invoke the existing hfi interfaces by passing hfi handle
to fetch the right hfi info. With this change, each hw mgr can
independently run on one HFI to interact with FW.

Add support in enabling OFE PC and config OFE UBWC in hfi layer, and parse
OFE UBWC config values from DT.

CRs-Fixed: 3338951
Change-Id: Iec2358fef124e9c169d06df79ce31b65a9b80d40
Signed-off-by: Sokchetra Eung <quic_eung@quicinc.com>
2022-12-19 17:06:37 -08:00
Sokchetra Eung
6d7e9d97ae msm: camera: icp: support OFE functionality in hw mgr
Add OFE device allocation and initialization. Verify number
of DT listed devices with cpas capability. Create common
sets of command types for IPE/BPS/OFE. Refactor the current usage
of IPE/BPS device interfaces to scale to n number of devices
including OFE. Add support for OFE functionality: acquire/
release, init/deinit, PC/Resume, get gdsc, clock update,
OFE HFI commands and message handlers.

CRs-Fixed: 3337784
Change-Id: I94c9bd21cf21dead6733c7cd6b86e343e86169de
Signed-off-by: Sokchetra Eung <quic_eung@quicinc.com>
2022-12-19 17:06:30 -08:00
Sokchetra Eung
92e98c0713 msm: camera: icp: UAPI update for v980
Add OFE stream type(rt/nrt/semi-rt) to be used for hw acquire,
add ofe setting/update opcode for preparing hw update, add
ICP/OFE dev type for query cap v2 usage, and a new macro
to define the max number of device types supported by ICP instance.

Remove usages of deprecated max macros - CAM_ICP_RES_TYPE_MAX
and CAM_ICP_DEV_TYPE_MAX in the driver.

CRs-Fixed: 3336554
Change-Id: Icf27958571f6e31896539d0cd692e0e7a67c5cd8
Signed-off-by: Sokchetra Eung <quic_eung@quicinc.com>
2022-12-19 17:06:24 -08:00
Sokchetra Eung
e9524ed007 msm: camera: icp: Add support for multiple ICP hw mgr
To enable multiple HW MGRs, static icp hw mgr is an array
and no longer a singleton object. The hw managers share the
same function routines; thus, routines that assume singleton
hw mgr are changed to support input parameter hw mgr. Different
hw mgr has separate sets of hw ctx, clk/bw info, workq, iommu hdl
, hw intf, WD, debugfs, locks, etc. So, They can run simultaneously
and independently of one another.

Before hw mgr initit/deinit, map corresponding icp subdevice to
hw mgr based on cell index in DT.

Each hw mgr has its own debugfs that can be interacted by users
independently of others.

CRs-Fixed: 3336534
Change-Id: I1ac5e244c5219c2e8f0c46f44e9a8ba6da16cf99
Signed-off-by: Sokchetra Eung <quic_eung@quicinc.com>
2022-12-19 17:06:17 -08:00
Depeng Shao
4c67d23da9 msm: camera: sensor: Update the last updated req properly
UMD can send packet with READ or CONFIG opcode with req
id 0, if we update the last updated req for every packet,
then the res info may be updated incorrectly. This change
updates the last updated req only when there are valid
res info updating.

CRs-Fixed: 3359553
Change-Id: Ia08ccf7683b87378d00a5ae41e189a70a01cc0fc
Signed-off-by: Depeng Shao <quic_depengs@quicinc.com>
2022-12-19 17:06:10 -08:00
Savita Patted
cdcf5b25ad CAMX: Snap for drop 12/16/2022 mainline 899 LA.VENDOR.14.3.0.AU117
camera-kernel:
99fd29e Merge "msm: camera: icp: Add support for synx signaling" into camera-kernel.lnx.dev
e41836d Merge "msm: camera: smmu: Reorganization of context bank for nested support" into camera-kernel.lnx.dev
acfd869 Merge "msm: camera: sync: Update validation checks" into camera-kernel.lnx.dev
59d1494 Merge "msm: camera: csiphy: Integrate mink call for secure camera" into camera-kernel.lnx.dev
21855e5 Merge "msm: camera: isp: Refactor packet parser APIs" into camera-kernel.lnx.dev
3995277 Merge "msm: camera: isp: unify the name of scratch buf_done function" into camera-kernel.lnx.dev
8256169 Merge "msm: camera: isp: Print event record at LDAR" into camera-kernel.lnx.dev.

Change-Id: I02ed5e97e8ff2c46037f7cddd3f54aa5c2c2cca4
Signed-off-by: Savita Patted <quic_spatted@quicinc.com>
2022-12-16 18:07:30 -08:00
Li Sha Lim
f2360705b1 msm: camera: csiphy: Integrate mink call for secure camera
Adds support for new mink call to configure secure
camera sessions. This new mink call takes in additional
parameters to support the new domain-id based
security scheme. The additional parameters are in the
form of csid_hw_idx_mask, cdm_hw_idx_mask and
vc_mask. These are in addition to the existing PHY idx
and CPHY/DPHY lanes info.

The introduction of this new mink call deprecates the
existing SCM call used to service secure camera sessions.
What this means is that on all subsequent versions of this
driver, all secure camera sessions will be serviced by this
mink call, which is able to accommodate older and newer targets,
and their programming of different register sets.

This design enables the cam_csiphy_notify_secure_mode
wrapper to remain the same, with the underlying mink call
made in the cam_compat layer, depending on camera driver
version.

CRs-Fixed: 3317248
Change-Id: I575f4b85097c81f047f398216d0190b249e6b200
Signed-off-by: Li Sha Lim <quic_lishlim@quicinc.com>
2022-12-16 18:07:20 -08:00
Karthik Anantha Ram
8f5c061dc5 msm: camera: icp: Add support for synx signaling
Add support to map global sync and hw mutex memory for ICP.
Share the region information with FW over GP registers.

CRs-Fixed: 3351015
Change-Id: Ie7a6af40ffd922ae89d64205787e3c656a007c49
Signed-off-by: Karthik Anantha Ram <quic_kartanan@quicinc.com>
2022-12-16 18:07:09 -08:00
Karthik Anantha Ram
0745a9ea41 msm: camera: smmu: Reorganization of context bank for nested support
Add support to have multiple same regions, and each region can
now support different subregions.

CRs-Fixed: 3351015
Change-Id: I733cce9c2c571ff21860871c5efdb19e833b1238
Signed-off-by: Karthik Anantha Ram <quic_kartanan@quicinc.com>
2022-12-16 18:06:59 -08:00
Gaurav Jindal
59e58d589b msm: camera: isp: Refactor packet parser APIs
This commit refactors the ISP packet parser APIs to remove
the loops based on resource and split ids. This saves
the renundant iterations.
It also breaks some big functions into small util functions.
It allows the code to be more modular and can be used from multiple places.
Removes lot of duplicate code as well.

CRs-Fixed: 3321317
Change-Id: Ifdfd13387c6e70cae40b0ef4a675bca8121c548d
Signed-off-by: Gaurav Jindal <quic_gjindal@quicinc.com>
2022-12-16 18:06:49 -08:00
Karthik Anantha Ram
e39cae73bd msm: camera: sync: Update validation checks
Update validation checks to ensure copy from user does not
go beyond assigned memory. The change also adds dma fence ref
count prior to signaling sync object.

CRs-Fixed: 3327260
Change-Id: I9e2a57ecd686d2b9125789f7532812de647af7a5
Signed-off-by: Karthik Anantha Ram <quic_kartanan@quicinc.com>
2022-12-16 18:06:39 -08:00
Gaurav Jindal
0baa162d48 msm: camera: isp: Print event record at LDAR
This commit prints the event record at the time of
LDAR. This commit gives information about the
last 8 events of request Submit, Apply, Epoch,
Reg Update and Buf Done.

CRs-Fixed: 3321317
Change-Id: I8d83f2b1ea0ccabc615a679489816e52ac6f00a4
Signed-off-by: Gaurav Jindal <quic_gjindal@quicinc.com>
2022-12-16 18:06:27 -08:00
Stark Lin
0b09cdabc8 msm: camera: isp: unify the name of scratch buf_done function
Unify the name of scratch buf_done function of IFE and SFE

CRs-Fixed: 3334207
Change-Id: I784e87fbf0955e191c7b08b254da3635bc0a6d72
Signed-off-by: Stark Lin <quic_starlin@quicinc.com>
2022-12-16 18:06:16 -08:00
Savita Patted
25f972341a Snap for drop 12/13/2022 mainline 898 LA.VENDOR.14.3.0.AU117
camera-kernel:
0cae312 Merge "msm: camera: common: Add support for cesta based clk scaling" into camera-kernel.lnx.dev.

Change-Id: I2d84ead77dd6c53385726fa6b11c5646d145e3ff
Signed-off-by: Savita Patted <quic_spatted@quicinc.com>
2022-12-14 11:06:20 -08:00
Savita Patted
0d2b7b34c6 Snap for drop 12/12/2022 mainline 897 LA.VENDOR.14.3.0.AU111
camera-kernel:
4fa62d9 Merge "msm: camera: isp: Do internal recovery when meets back to back bubble request" into camera-kernel.lnx.dev
580d5b3 Merge "msm: camera: isp: UAPI changes for Spectra v980" into camera-kernel.lnx.dev.

Change-Id: I474d9fd7efa3570de845d23e5d9851ee59f953a0
Signed-off-by: Savita Patted <quic_spatted@quicinc.com>
2022-12-14 11:06:16 -08:00
Mukund Madhusudan Atre
b2def29ddc msm: camera: common: Add support for cesta based clk scaling
On chipsets having cesta hw block support, for cesta supported clks
clk frequency can be changed during veritcal blanking based on
CSID DRV events. For this to happen, camera clients need to setup
high and low clock votes through hw clients. Use corresponding clk,
crm APIs to setup high, low clk frquencies and do channel switch
to apply newly set rates. Clients can also set clk frequency through
sw client which will set the floor. This feature helps in saving
power for usecases where vertical blanking is high such as
Fast Shutter usecase.

CRs-Fixed: 3294948
Change-Id: I1bcf650b439991a23b2a0f0f9a5162bdcd60dc64
Signed-off-by: Mukund Madhusudan Atre <quic_matre@quicinc.com>
Signed-off-by: Pavan Kumar Chilamkurthi <quic_pchilamk@quicinc.com>
2022-12-14 11:06:09 -08:00
mingpan
fe9c1170c8 msm: camera: isp: Do internal recovery when meets back to back bubble request
Do internal recovery when a request meets back to back bubble.

CRs-Fixed: 3300029
Change-Id: I6b2dc3bffd5cd624cd3b32f3c5c96134e2120d06
Signed-off-by: mingpan <quic_mingpan@quicinc.com>
2022-12-12 18:36:16 -08:00
Gaurav Jindal
95c24d7806 msm: camera: isp: UAPI changes for Spectra v980
UAPI Changes for Spectra v980.

CRs-Fixed: 3321317
Change-Id: I93c5436db5e6e955759aac8e151472f24c051944
Signed-off-by: Gaurav Jindal <quic_gjindal@quicinc.com>
Signed-off-by: Mukund Madhusudan Atre <quic_matre@quicinc.com>
2022-12-12 18:36:06 -08:00
Savita Patted
b44fc48434 Snap for drop 12/08/2022 mainline 896 LA.VENDOR.14.3.0.AU111
camera-kernel:
f30a455 msm: camera: common: Add private data in mini dump
22ebb39 msm: camera: sensor: Add bubble update packet support.

Change-Id: Ibfc05e14931c931877daf490192779dd12659e12
Signed-off-by: Savita Patted <quic_spatted@quicinc.com>
2022-12-08 20:36:07 -08:00