소스 검색

msm: camera: isp: Change epoch line computation

On current target in order to configure epoch to 50% we need
to do sensor total lines by 2 as opposed to by 4 being done
on previous target. The workaround by 4 is not needed since
the issue has been addressed in HW.

CRs-Fixed: 2841729
Change-Id: I81c65c41bbda7e3ba41b9dc8beb81a8853c3f8bf
Signed-off-by: Karthik Anantha Ram <[email protected]>
Karthik Anantha Ram 4 년 전
부모
커밋
45359c12f8
1개의 변경된 파일1개의 추가작업 그리고 4개의 파일을 삭제
  1. 1 4
      drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_top/cam_vfe_top_ver4.c

+ 1 - 4
drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_top/cam_vfe_top_ver4.c

@@ -1814,13 +1814,10 @@ static int cam_vfe_resource_start(
 			rsrc_data->common_reg->core_cfg_1));
 
 	val = ((rsrc_data->last_line + rsrc_data->vbi_value) -
-						rsrc_data->first_line) / 4;
+						rsrc_data->first_line) / 2;
 	if (val > rsrc_data->last_line)
 		val = rsrc_data->last_line;
 
-	/* Epoch line cfg will still be configured at midpoint of the frame width.
-	 * We use '/4' instead of '/2' because it is multipixel path.
-	 */
 	if (rsrc_data->horizontal_bin || rsrc_data->qcfa_bin ||
 		rsrc_data->sfe_binned_epoch_cfg)
 		val >>= 1;