msm: vidc: Fix iommu pagefault in concurrent scenario

IOMMU pagefault is seen while running decoder and
encoder concurrently for specific codec combination.
Map double the buffer size to ion_map_iommu() API for
encoder reconstruction buffers to avoid the pagefault.

Change-Id: Ib5546a42a75c4c628767310f1a291e7ed443056c
CRs-fixed: 450621
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
This commit is contained in:
Maheshwar Ajja 2013-02-15 19:06:49 +05:30 committed by Iliyan Malchev
parent 305aaf9205
commit f7f116bf52

View file

@ -1870,7 +1870,7 @@ u32 vid_enc_set_recon_buffers(struct video_client_ctx *client_ctx,
VIDEO_DOMAIN, VIDEO_DOMAIN,
VIDEO_MAIN_POOL, VIDEO_MAIN_POOL,
SZ_4K, SZ_4K,
0, control->buffer_size * 2,
(unsigned long *)&iova, (unsigned long *)&iova,
(unsigned long *)&buffer_size, (unsigned long *)&buffer_size,
0, 0); 0, 0);