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

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

Merge "msm: vidc: align input buffer size to 4k for secure usecase"

parents a2240c40 9b8deb53
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -440,8 +440,8 @@ static u32 get_frame_size(struct msm_vidc_inst *inst,
		if (inst->flags & VIDC_SECURE) {
			dprintk(VIDC_DBG,
				"Change secure input buffer size from %u to %u\n",
				frame_size, frame_size / 2);
			frame_size = frame_size / 2;
				frame_size, ALIGN(frame_size/2, SZ_4K));
			frame_size = ALIGN(frame_size/2, SZ_4K);
		}

		if (inst->buffer_size_limit &&