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

Commit 79d99238 authored by Peter Liu's avatar Peter Liu Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: enable propotional UB allocation



To optimize UB buffer allocation,
we need to decide the size of each UB by stream size.

Change-Id: I19c0c4c89d866af78736a5fe7e0d9302ed47dab6
Signed-off-by: default avatarPeter Liu <pingchie@codeaurora.org>
parent 360013b1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -951,7 +951,7 @@ static void msm_vfe44_cfg_axi_ub_equal_slicing(
static void msm_vfe44_cfg_axi_ub(struct vfe_device *vfe_dev)
{
	struct msm_vfe_axi_shared_data *axi_data = &vfe_dev->axi_data;
	axi_data->wm_ub_cfg_policy = MSM_WM_UB_EQUAL_SLICING;
	axi_data->wm_ub_cfg_policy = MSM_WM_UB_CFG_DEFAULT;
	if (axi_data->wm_ub_cfg_policy == MSM_WM_UB_EQUAL_SLICING)
		msm_vfe44_cfg_axi_ub_equal_slicing(vfe_dev);
	else