Explorar el Código

msm: camera: isp: Correct BL type CDM BL cmd for TFE

This commit adds BL type for the BL Command to be enqueued to CDM.

CRs-Fixed: 3622248
Change-Id: I1aa4ae7cb24a373a32990f2bb7cd4f7da2134093
Signed-off-by: Ayush Kumar <[email protected]>
Ayush Kumar hace 1 año
padre
commit
0596afdca5
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      drivers/cam_isp/isp_hw_mgr/cam_tfe_hw_mgr.c

+ 3 - 0
drivers/cam_isp/isp_hw_mgr/cam_tfe_hw_mgr.c

@@ -4231,6 +4231,7 @@ static int cam_isp_tfe_blob_update_out_resource_config(
 		prepare->hw_update_entries[num_ent].handle = kmd_buf_info->handle;
 		prepare->hw_update_entries[num_ent].len = total_used_bytes;
 		prepare->hw_update_entries[num_ent].offset = kmd_buf_info->offset;
+		prepare->hw_update_entries[num_ent].flags = CAM_ISP_IOCFG_BL;
 		num_ent++;
 		kmd_buf_info->used_bytes += total_used_bytes;
 		kmd_buf_info->offset     += total_used_bytes;
@@ -4329,6 +4330,7 @@ static int cam_isp_tfe_blob_hfr_update(
 		prepare->hw_update_entries[num_ent].handle =
 			kmd_buf_info->handle;
 		prepare->hw_update_entries[num_ent].len = total_used_bytes;
+		prepare->hw_update_entries[num_ent].flags = CAM_ISP_IQ_BL;
 		prepare->hw_update_entries[num_ent].offset =
 			kmd_buf_info->offset;
 		num_ent++;
@@ -4594,6 +4596,7 @@ static int cam_isp_tfe_blob_bw_limit_update(
 		prepare->hw_update_entries[num_ent].handle =
 			kmd_buf_info->handle;
 		prepare->hw_update_entries[num_ent].len = total_used_bytes;
+		prepare->hw_update_entries[num_ent].flags = CAM_ISP_IOCFG_BL;
 		prepare->hw_update_entries[num_ent].offset =
 			kmd_buf_info->offset;
 		num_ent++;