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

Commit 699c2024 authored by Shilpa Mamidi's avatar Shilpa Mamidi Committed by Gerrit - the friendly Code Review server
Browse files

msm: isp: Correct UB size for RDI



UB size of second RDI is overlapping
with first RDI. Correcting UB size configuration
for RDI streams.

Change-Id: I658744a52b86066eb198cdf2e760b75fdb76605a
Signed-off-by: default avatarShilpa Mamidi <shilpam@codeaurora.org>
parent 8d601310
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1859,10 +1859,10 @@ void msm_vfe47_cfg_axi_ub_equal_default(
					axi_data->free_wm[i])
					break;

			rdi_ub_offset = ((SRC_TO_INTF(
			rdi_ub_offset = (SRC_TO_INTF(
					HANDLE_TO_IDX(axi_data->free_wm[i])) -
					VFE_RAW_0 * 2) + plane) *
					axi_data->hw_info->min_wm_ub;
					VFE_RAW_0) *
					axi_data->hw_info->min_wm_ub * 2;
			wm_ub_size = axi_data->hw_info->min_wm_ub * 2;
			msm_camera_io_w(rdi_ub_offset << 16 | (wm_ub_size - 1),
				vfe_dev->vfe_base +