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

Commit d89a3c22 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: vidc: Disable internal buffer size calculation"

parents 93686f13 1e42b04c
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -587,9 +587,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;
}