msm: camera: isp: Remove redundant CSID global SW reset
When the camera subsystem is powered on (titan_top), async reset is issued thereby ensuring clean state for all CSIDs. At the start of the use-case, issuing a sync global SW reset is redundant, and can be avoided. At the end of the use-case, issue a SW sync global reset thereby ensuring all SWI registers are wiped out for the CSID and all connected cores. The sync global reset also ensures the rx decoder is also reset. CRs-Fixed: 3545161 Change-Id: I0f5e25bad8508f72b2a0395df4dafc368f71243c Signed-off-by: Karthik Anantha Ram <quic_kartanan@quicinc.com>
Цей коміт міститься в:

зафіксовано
Camera Software Integration

джерело
57f43538c7
коміт
34582e7146
@@ -1227,7 +1227,6 @@ static int cam_ife_hw_mgr_init_hw(
|
||||
struct cam_ife_hw_mgr_ctx *ctx)
|
||||
{
|
||||
struct cam_isp_hw_mgr_res *hw_mgr_res;
|
||||
struct cam_ife_hw_mgr *hw_mgr;
|
||||
int rc = 0, i;
|
||||
|
||||
/* INIT IFE SRC */
|
||||
@@ -1307,17 +1306,6 @@ static int cam_ife_hw_mgr_init_hw(
|
||||
}
|
||||
}
|
||||
|
||||
hw_mgr = ctx->hw_mgr;
|
||||
|
||||
if (hw_mgr->csid_global_reset_en) {
|
||||
rc = cam_ife_hw_mgr_reset_csid(ctx,
|
||||
CAM_IFE_CSID_RESET_GLOBAL);
|
||||
if (rc) {
|
||||
CAM_ERR(CAM_ISP, "CSID reset failed, ctx_idx:%u", ctx->ctx_index);
|
||||
goto deinit;
|
||||
}
|
||||
}
|
||||
|
||||
/* Check if any cache needs to be activated */
|
||||
for (i = CAM_LLCC_SMALL_1; i < CAM_LLCC_MAX; i++) {
|
||||
if (ctx->flags.sys_cache_usage[i]) {
|
||||
|
Посилання в новій задачі
Заблокувати користувача