Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ab40539e authored by Camera Software Integration's avatar Camera Software Integration Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: camera: reqmgr: Add provision to obtain exposure time" into camera-kernel.lnx.3.1

parents 8e9fe236 c36cc8e7
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -185,6 +185,11 @@ struct cam_req_mgr_flush_info {
 * @bubble_enable: Input Param - Cam req mgr will do bubble recovery if this
 * flag is set.
 * @sync_mode: Type of Sync mode for this request
 * @additional_timeout: Additional timeout value (in ms) associated with
 * this request. This value needs to be 0 in cases where long exposure is
 * not configured for the sensor.The max timeout that will be supported
 * is 50000 ms
 * @reserved: Reserved
 * @req_id: Input Param - Request Id from which all requests will be flushed
 */
struct cam_req_mgr_sched_request {
@@ -192,6 +197,8 @@ struct cam_req_mgr_sched_request {
	int32_t link_hdl;
	int32_t bubble_enable;
	int32_t sync_mode;
	int32_t additional_timeout;
	int32_t reserved;
	int64_t req_id;
};

@@ -408,11 +415,13 @@ struct cam_mem_cache_ops_cmd {
 * @CAM_REQ_MGR_ERROR_TYPE_REQUEST: Error on a single request, not fatal
 * @CAM_REQ_MGR_ERROR_TYPE_BUFFER: Buffer was not filled, not fatal
 * @CAM_REQ_MGR_ERROR_TYPE_RECOVERY: Fatal error, can be recovered
 * @CAM_REQ_MGR_ERROR_TYPE_SOF_FREEZE: SOF freeze, can be recovered
 */
#define CAM_REQ_MGR_ERROR_TYPE_DEVICE           0
#define CAM_REQ_MGR_ERROR_TYPE_REQUEST          1
#define CAM_REQ_MGR_ERROR_TYPE_BUFFER           2
#define CAM_REQ_MGR_ERROR_TYPE_RECOVERY         3
#define CAM_REQ_MGR_ERROR_TYPE_SOF_FREEZE       4

/**
 * struct cam_req_mgr_error_msg