msm: camera: common: Enhance error injection framework
Update from error injection framework to event injection framework to support PF event inducement and node event. Different set of user input parameters are required dependent on which event to injection. ICP and ISP support error event and page fault event injection. JPEG supports node event and page fault event injection. However, buf done error injection is only supported for JPEG and ICP. Create a query API to check whether PF is fatal for a context bank. Using the API, if PF is fatal, page fault event injection is not supported for the device that owns the context bank. Make change to JPEG context event callback handling to account for various events including Event Injection event. CRs-Fixed: 3210139 Change-Id: I582ee0bda8dbf631ece2522a5a8145f38ec71928 Signed-off-by: Sokchetra Eung <quic_eung@quicinc.com>
这个提交包含在:

提交者
Camera Software Integration

父节点
4e06429fc8
当前提交
c87d8891b9
@@ -288,6 +288,7 @@ struct cam_isp_context_event_record {
|
||||
* @trigger_id: ID provided by CRM for each ctx on the link
|
||||
* @last_bufdone_err_apply_req_id: last bufdone error apply request id
|
||||
* @v4l2_event_sub_ids contains individual bits representing subscribed v4l2 ids
|
||||
* @evt_inject_params: event injection parameters
|
||||
* @aeb_enabled: Indicate if stream is for AEB
|
||||
* @do_internal_recovery: Enable KMD halt/reset/resume internal recovery
|
||||
*
|
||||
@@ -345,7 +346,7 @@ struct cam_isp_context {
|
||||
int32_t trigger_id;
|
||||
int64_t last_bufdone_err_apply_req_id;
|
||||
uint32_t v4l2_event_sub_ids;
|
||||
struct cam_hw_err_param err_inject_params;
|
||||
struct cam_hw_inject_evt_param evt_inject_params;
|
||||
bool aeb_enabled;
|
||||
bool do_internal_recovery;
|
||||
};
|
||||
|
在新工单中引用
屏蔽一个用户