msm: camera: isp: Enable format measure for PPP path with debugfs

This commit enable format measure for PPP path in TFE CSID with
debugfs.

CRs-Fixed: 3599715
Change-Id: Icb13d0b7451dda5bc2af18d65270e77b2b35a90b
Signed-off-by: Ayush Kumar <quic_ayushkr@quicinc.com>
This commit is contained in:
Ayush Kumar 2023-08-31 13:44:17 +05:30 committed by Alok Chauhan
parent c330429f97
commit a3fbf12cee

View File

@ -1472,7 +1472,8 @@ static int cam_tfe_csid_init_config_pxl_path(
}
}
if (csid_reg->cmn_reg->format_measure_support)
if ((csid_reg->cmn_reg->format_measure_support && res->res_id == CAM_TFE_CSID_PATH_RES_IPP)
|| (csid_hw->csid_debug & TFE_CSID_DEBUG_ENABLE_HBI_VBI_INFO))
val |= (1 << pxl_reg->format_measure_en_shift_val);
val |= (1 << pxl_reg->pix_store_en_shift_val);