瀏覽代碼

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 <[email protected]>
Karthik Anantha Ram 5 年之前
父節點
當前提交
9f37871064
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      include/uapi/camera/media/cam_req_mgr.h

+ 4 - 0
include/uapi/camera/media/cam_req_mgr.h

@@ -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];
 };
 };