Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 89361e21 authored by Venkat Chinta's avatar Venkat Chinta
Browse files

msm: camera: vfe: Allow meta config update



Meta config should be updated even in the case of
dual IFE, not just single.

Change-Id: I7ab78c870430858f537ab2f35155a732283f5ee1
Signed-off-by: default avatarVenkat Chinta <vchinta@codeaurora.org>
parent ef02a3d3
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -3105,9 +3105,9 @@ static int cam_vfe_bus_ver3_update_ubwc_config_v2(void *cmd_args)
		CAM_ERR(CAM_ISP, "num_wm %d h_init 0x%x",
			vfe_out_data->num_wm,
			ubwc_generic_plane_cfg->h_init);
		if ((!wm_data->is_dual) && ((wm_data->ubwc_meta_cfg !=
			ubwc_generic_plane_cfg->meta_stride) ||
			!wm_data->init_cfg_done)) {
		if (wm_data->ubwc_meta_cfg !=
			ubwc_generic_plane_cfg->meta_stride ||
			!wm_data->init_cfg_done) {
			wm_data->ubwc_meta_cfg =
				ubwc_generic_plane_cfg->meta_stride;
			wm_data->ubwc_updated = true;