msm: camera: isp: Trigger reg dump for INIT packet

Irrespective of kernel debugfs, if there is a regdump
buffer provided for INIT packet trigger the dump.

CRs-Fixed: 3258552
Change-Id: I96d79ff6956ad567e526524500bf37f83e23908b
Signed-off-by: Karthik Anantha Ram <quic_kartanan@quicinc.com>
This commit is contained in:
Karthik Anantha Ram
2022-08-01 18:00:25 -07:00
committed by Camera Software Integration
parent 8bb4b36b46
commit 6bc9721515

View File

@@ -6450,6 +6450,14 @@ static int cam_ife_mgr_config_hw(void *hw_mgr_priv,
ctx->curr_num_exp = hw_update_data->num_exp; ctx->curr_num_exp = hw_update_data->num_exp;
} }
hw_update_data->mup_en = false; hw_update_data->mup_en = false;
/* Try for INIT packet reg dump by default - no debugfs set */
if (cfg->init_packet && !g_ife_hw_mgr.debug_cfg.per_req_reg_dump)
cam_ife_mgr_handle_reg_dump(ctx,
hw_update_data->reg_dump_buf_desc,
hw_update_data->num_reg_dump_buf,
CAM_ISP_PACKET_META_REG_DUMP_PER_REQUEST,
NULL, false);
} }
} }