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

Commit 04e700e7 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: Allow non-contiguous allocations for secure buffers"

parents 3c85aeae ce425ccf
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -179,6 +179,7 @@ static int alloc_ion_mem(struct smem_client *client, size_t size, u32 align,
	if (flags & SMEM_SECURE) {
		size = ALIGN(size, SZ_1M);
		align = ALIGN(align, SZ_1M);
		flags |= ION_FLAG_ALLOW_NON_CONTIG;
	}

	if (is_iommu_present(client->res)) {