Commit Graph

9 Commits

Author SHA1 Message Date
Jigarkumar Zala
4a8af1ed19 msm: camera: isp: Fix rdi only usecase
Initialize common_reg data for rdi.
Adds acquire handling for RDI usecase.

Change-Id: I06cc9bf86af834ceeb145e9b49586c97b6f1a461
Signed-off-by: Trishansh Bhardwaj <tbhardwa@codeaurora.org>
Signed-off-by: Jigarkumar Zala <jzala@codeaurora.org>
2019-08-06 12:21:33 -07:00
Jigarkumar Zala
d707886ae1 msm: camera: isp: Move bw voting functions to common file for vfe
Currently, vfe top has different files for different targets. Some of
the APIs are unchanged between these files. In order to avoid duplication
of code and make sure no change is missed between different versions of
vfe top, a common file is added to vfe top for unchanged APIs. With the
common top, number of input resources are moved to architecture specific
header files to ensure special conditions need not be created for a
particular architecture in common code. Move bw voting related APIs to
this common file.

Change-Id: Ibcb9519a206c25d42c9e7f0336f8d588a8240717
Signed-off-by: Mukund Madhusudan Atre <matre@codeaurora.org>
Signed-off-by: Jigarkumar Zala <jzala@codeaurora.org>
2019-08-06 12:21:10 -07:00
Depeng Shao
2f6c89b46f msm: camera: csid: add csiphy4 and csiphy5 support
Add csiphy4 and csiphy5 support.

Change-Id: I8523523556671ed6ffd7f880af2d18043c30d4eb
Signed-off-by: Depeng Shao <depengs@codeaurora.org>
2019-07-09 15:40:38 -07:00
Vishalsingh Hajeri
c952930533 msm: camera: isp: Add CSID binning
Add support to configure CSID binning

Change-Id: I09b76b287c243149c89cba958a786f7476c8addb
Signed-off-by: Vishalsingh Hajeri <vhajeri@codeaurora.org>
2019-07-09 10:34:25 -07:00
Venkat Chinta
e7e5e70f17 msm: camera: ife: Enable sample drop on CSID RDI paths
This change enables CSID sample drop on RDI paths by default. The
sample drop pattern, as always, is set to 0 at init. This allows
the userspace driver to simply program sample drop pattern on
desired RDI paths to obtain sample dropped output without having
to also overwrite config register to enable drop. This change
also takes care of programming max value to sample drop period on
version 480 hardware due to hardware limitations. It also adds a
separate header file for CSID Lite version 480 hardware.

Change-Id: I6e8ace1df3241b7ab4e34d9a13b382f5dde8b4f3
Signed-off-by: Venkat Chinta <vchinta@codeaurora.org>
2019-07-09 10:34:07 -07:00
Jigarkumar Zala
7fd239ba24 msm: camera: Enable top debug status cfg register
In case of VFE Overflow print additional debug
information based on whether the overflow is
on bus side or in the IFE modules.

Change-Id: I292bab0e75824bd1f151a4824f25220784c81172
Signed-off-by: Vishalsingh Hajeri <vhajeri@codeaurora.org>
Signed-off-by: Venkat Chinta <vchinta@codeaurora.org>
2019-07-09 10:33:49 -07:00
Mukund Madhusudan Atre
396a4cc576 msm: camera: Add LCR in axi bw vote and checks for memory free
Adding LCR resource id in isp bw voting for axi bw voting v1 path
and v2 path. Also, adding checks for unwanted memory free during
cpas probe.

Change-Id: Ib3dca34727b640326893fb227b160a42dab457fc
Signed-off-by: Mukund Madhusudan Atre <matre@codeaurora.org>
2019-07-09 10:33:26 -07:00
Mukund Madhusudan Atre
c28468e278 msm: camera: Add custom ratelimit logs and use for old blob type
Adding custom ratelimited log types and use it in generic blob
handler for isp and icp.

Change-Id: Iec6c94f41506839055c5e0036d2e343849dc12b5
Signed-off-by: Mukund Madhusudan Atre <matre@codeaurora.org>
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
2019-07-09 10:33:21 -07:00
Jigarkumar Zala
05349feaa2 Camera: Bring over camera driver changes
Bring over camera driver changes as of msm-4.19
commit  5a5551a7 (Merge "msm: camera: reqmgr: Fix CRM
shift one req issue").

Change-Id: Ic0c2b2d74d1b3470c1c51d98228e312fb13c501a
Signed-off-by: Jigarkumar Zala <jzala@codeaurora.org>
2019-07-08 10:24:55 -07:00