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

Commit 285229fa authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: vidc: Avoid setting internal scratch buffers if not required"

parents 9edfa7b9 f2af7619
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1618,6 +1618,8 @@ static int set_max_internal_buffers_size(struct msm_vidc_inst *inst)
			get_buff_req_buffer(inst, internal_buffers[i].type);
		internal_buffers[i].size = internal_buffers[i].req ?
			internal_buffers[i].req->buffer_size : 0;
		if (internal_buffers[i].req == NULL)
			continue;

		rc = allocate_and_set_internal_bufs(inst,
					internal_buffers[i].req,