msm: camera: custom: Add support for acquire_hw_v1

Split the acquire in custom node to acquire device and
acquire hw to be in line with IFE for multicamera usecases.

CRs-Fixed: 2524308
Change-Id: I7be7d5227dcd304d095d7e3d7fac32800fecc199
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
This commit is contained in:
Karthik Anantha Ram
2019-09-25 20:27:50 -07:00
committed by Gerrit - the friendly Code Review server
parent 5f530223ba
commit a27592f01b
4 changed files with 334 additions and 165 deletions

View File

@@ -170,6 +170,23 @@ struct cam_custom_resource {
uint64_t res_hdl;
};
/**
* struct cam_custom_acquire_hw_info - Custom acquire HW params
*
* @num_inputs : Number of inputs
* @input_info_size : Size of input info struct used
* @input_info_offset : Offset of input info from start of data
* @reserved : reserved
* @data : Start of data region
*/
struct cam_custom_acquire_hw_info {
uint32_t num_inputs;
uint32_t input_info_size;
uint32_t input_info_offset;
uint32_t reserved;
uint64_t data;
};
/**
* struct cam_custom_cmd_buf_type_1 - cmd buf type 1
*