Merge "msm: camera: isp: Add SFE core idx in CSID error notify" into camera-kernel.lnx.5.0
Bu işleme şunda yer alıyor:

işlemeyi yapan:
Gerrit - the friendly Code Review server

işleme
f4d36c1591
@@ -495,7 +495,10 @@ static int cam_ife_hw_mgr_notify_overflow(
|
||||
hw_if = g_ife_hw_mgr.ife_devices[evt->hw_idx]->hw_intf;
|
||||
res_id = ife_res_id;
|
||||
} else if (hw_mgr_ctx->base[i].hw_type == CAM_ISP_HW_TYPE_SFE) {
|
||||
hw_if = g_ife_hw_mgr.sfe_devices[evt->hw_idx];
|
||||
if (evt->in_core_type >= CAM_SFE_HW_NUM_MAX)
|
||||
continue;
|
||||
|
||||
hw_if = g_ife_hw_mgr.sfe_devices[evt->in_core_type];
|
||||
res_id = sfe_res_id;
|
||||
} else {
|
||||
continue;
|
||||
|
@@ -1013,6 +1013,11 @@ static int cam_ife_csid_ver2_handle_event_err(
|
||||
csid_hw->hw_intf->hw_idx, err_type, irq_status);
|
||||
}
|
||||
|
||||
if (csid_hw->top_cfg.input_core_type == CAM_IFE_CSID_INPUT_CORE_SEL_SFE_0)
|
||||
evt.in_core_type = 0;
|
||||
else if (csid_hw->top_cfg.input_core_type == CAM_IFE_CSID_INPUT_CORE_SEL_SFE_1)
|
||||
evt.in_core_type = 1;
|
||||
|
||||
csid_hw->event_cb(csid_hw->token,
|
||||
CAM_ISP_HW_EVENT_ERROR, (void *)&evt);
|
||||
|
||||
|
@@ -241,6 +241,7 @@ struct cam_isp_blanking_config {
|
||||
* @err_type: Error type if any
|
||||
* @reg_val: Any critical register value captured during irq handling
|
||||
* @hw_type: Hw Type sending the event
|
||||
* @in_core_type: Input core type if CSID error evt
|
||||
*
|
||||
*/
|
||||
struct cam_isp_hw_event_info {
|
||||
@@ -250,6 +251,7 @@ struct cam_isp_hw_event_info {
|
||||
uint32_t err_type;
|
||||
uint32_t reg_val;
|
||||
uint32_t hw_type;
|
||||
uint32_t in_core_type;
|
||||
};
|
||||
|
||||
/*
|
||||
|
Yeni konuda referans
Bir kullanıcı engelle