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

Commit 1e42b04c authored by Vaibhav Deshu Venkatesh's avatar Vaibhav Deshu Venkatesh
Browse files

msm: vidc: Disable internal buffer size calculation



Internal buffer size calculations is causing a lot of
regressions and has firmware dependency for fixes. Disable it
till those issues are fixed. This is temp change till we get
a firmware update with all fixes.

Change-Id: I9ae3b8852a935d43025bbbd7eb083103229f9608
Signed-off-by: default avatarVaibhav Deshu Venkatesh <vdeshuve@codeaurora.org>
parent d8d1bc74
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -586,9 +586,8 @@ void msm_vidc_init_buffer_size_calculators(struct msm_vidc_inst *inst)
	inst->buffer_size_calculators = NULL;
	core = inst->core;

	/* Only decoder is enabled for now */
	if ((core->platform_data->vpu_ver == VPU_VERSION_IRIS2) &&
		(inst->session_type == MSM_VIDC_DECODER))
	/* Change this to IRIS2 when ready */
	if (core->platform_data->vpu_ver == VPU_VERSION_AR50)
		inst->buffer_size_calculators =
			msm_vidc_calculate_internal_buffer_sizes;
}