mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
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:
parent
305aaf9205
commit
f7f116bf52
1 changed files with 1 additions and 1 deletions
|
@ -1870,7 +1870,7 @@ u32 vid_enc_set_recon_buffers(struct video_client_ctx *client_ctx,
|
|||
VIDEO_DOMAIN,
|
||||
VIDEO_MAIN_POOL,
|
||||
SZ_4K,
|
||||
0,
|
||||
control->buffer_size * 2,
|
||||
(unsigned long *)&iova,
|
||||
(unsigned long *)&buffer_size,
|
||||
0, 0);
|
||||
|
|
Loading…
Reference in a new issue