Quellcode durchsuchen

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 vor 5 Jahren
Ursprung
Commit
9f37871064
1 geänderte Dateien mit 4 neuen und 0 gelöschten Zeilen
  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
  * @num_links:           Input Param - Num of links
  * @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
  *
  * @opcode: CAM_REQ_MGR_LINK_CONTROL
@@ -242,6 +245,7 @@ struct cam_req_mgr_link_control {
 	__s32 session_hdl;
 	__s32 num_links;
 	__s32 reserved;
+	__s32 init_timeout[MAX_LINKS_PER_SESSION];
 	__s32 link_hdls[MAX_LINKS_PER_SESSION];
 };