msm: camera: reqmgr: Add provision in UAPI for INIT exp timeout

Add provision in CRM link control to accept any long exposure
timeout value so that CRM can modify it's internal WD timer
during link activate.

CRs-Fixed: 2706105
Change-Id: Icedeeef32dcc5c881277f28dc2c0fbb40fa1e7f1
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
このコミットが含まれているのは:
Karthik Anantha Ram
2020-05-11 11:37:23 -07:00
コミット 9f37871064

ファイルの表示

@@ -233,6 +233,9 @@ struct cam_req_mgr_sync_mode {
* @session_hdl: Input param - Identifier for CSL session * @session_hdl: Input param - Identifier for CSL session
* @num_links: Input Param - Num of links * @num_links: Input Param - Num of links
* @reserved: reserved field * @reserved: reserved field
* @init_timeout: To account for INIT exposure settings (ms)
* If there is no change in exp settings
* field needs to assigned to 0ms.
* @link_hdls: Input Param - Links to be activated/deactivated * @link_hdls: Input Param - Links to be activated/deactivated
* *
* @opcode: CAM_REQ_MGR_LINK_CONTROL * @opcode: CAM_REQ_MGR_LINK_CONTROL
@@ -242,6 +245,7 @@ struct cam_req_mgr_link_control {
__s32 session_hdl; __s32 session_hdl;
__s32 num_links; __s32 num_links;
__s32 reserved; __s32 reserved;
__s32 init_timeout[MAX_LINKS_PER_SESSION];
__s32 link_hdls[MAX_LINKS_PER_SESSION]; __s32 link_hdls[MAX_LINKS_PER_SESSION];
}; };