msm: camera: ife: Optimize the IFE CDM Acquire

Optimize IFE configuration process by making
IFE hw update entries independent of the hw type
(IFE or SFE). Use CPAS-CDM for dualIFE configuration.

CRs-Fixed: 2704472
Change-Id: I1ecba0312c83f0ab1b88c158430650bb9e28666c
Signed-off-by: Jigar Agrawal <jigar@codeaurora.org>
This commit is contained in:
Jigar Agrawal
2020-06-26 07:47:32 -07:00
parent 7ea6cea7a7
commit 3f8fc789d9
9 changed files with 509 additions and 992 deletions

View File

@@ -135,8 +135,8 @@ struct cam_isp_ctx_irq_ops {
* struct cam_isp_ctx_req - ISP context request object
*
* @base: Common request object ponter
* @cfg_info: ISP hardware configuration array
* @total_num_cfg: Number of ISP hardware configuration entries
* @cfg: ISP hardware configuration array
* @num_cfg: Number of ISP hardware configuration entries
* @fence_map_out: Output fence mapping array
* @num_fence_map_out: Number of the output fence map
* @fence_map_in: Input fence mapping array
@@ -153,8 +153,8 @@ struct cam_isp_ctx_irq_ops {
*/
struct cam_isp_ctx_req {
struct cam_ctx_request *base;
struct cam_isp_hw_update_info cfg_info[CAM_IFE_HW_NUM_MAX];
uint32_t total_num_cfg;
struct cam_hw_update_entry cfg[CAM_ISP_CTX_CFG_MAX];
uint32_t num_cfg;
struct cam_hw_fence_map_entry fence_map_out
[CAM_ISP_CTX_RES_MAX];
uint32_t num_fence_map_out;