From a165c58fefe8df64c41daa4726d9fb7bea9483a4 Mon Sep 17 00:00:00 2001 From: Wyes Karny Date: Thu, 13 Aug 2020 17:09:07 +0530 Subject: [PATCH] msm: camera: isp: Add per frame register support Adding per frame register dump for camera version 2 targets. CRs-Fixed: 2778464 Change-Id: I0f45e021959d1b812807f9e7500645f2d8365f54 Signed-off-by: Wyes Karny --- .../isp_hw_mgr/isp_hw/vfe_hw/vfe_top/cam_vfe_camif_ver2.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_top/cam_vfe_camif_ver2.c b/drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_top/cam_vfe_camif_ver2.c index f220e9ff5927..7c5b27ed08b0 100644 --- a/drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_top/cam_vfe_camif_ver2.c +++ b/drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_top/cam_vfe_camif_ver2.c @@ -727,6 +727,12 @@ static int cam_vfe_camif_process_cmd(struct cam_isp_resource_node *rsrc_node, case CAM_ISP_HW_CMD_BLANKING_UPDATE: rc = cam_vfe_camif_blanking_update(rsrc_node, cmd_args); break; + case CAM_ISP_HW_CMD_QUERY_REGSPACE_DATA: + camif_priv = (struct cam_vfe_mux_camif_data *) + rsrc_node->res_priv; + *((struct cam_hw_soc_info **)cmd_args) = camif_priv->soc_info; + rc = 0; + break; default: CAM_ERR(CAM_ISP, "unsupported process command:%d", cmd_type);