Commits
zhang sanshan committed 5b7b9c2dd66
MA-16237 [Android] fix crash issue when use uvc camera if a given heap provides a specific dmabuf operation, that will be preferred over the default ion core implementation. used ion_dma_buf_begin_cpu_access/ ion_dma_buf_end_cpu_access as default vmap/vnomap implement. [ 87.748881] Call trace: [ 87.751328] dma_buf_vmap+0xb4/0xc0 [ 87.754818] vb2_vmalloc_map_dmabuf+0x18/0x38 [ 87.759174] __buf_prepare+0x704/0xa4c [ 87.762923] vb2_core_qbuf+0x98/0x4bc [ 87.766584] vb2_qbuf+0x74/0xd0 [ 87.769724] uvc_queue_buffer+0x38/0x58 [ 87.773559] uvc_ioctl_qbuf+0x28/0x38 [ 87.777221] v4l_qbuf+0x44/0x54 [ 87.780361] __video_do_ioctl+0x360/0x3c0 [ 87.784368] video_usercopy+0x500/0xa34 [ 87.784368] video_ioctl2+0x14/0x1c [ 87.794550] v4l2_ioctl+0x48/0x54 [ 87.797864] do_video_ioctl+0x868/0x83f8 [ 87.801785] v4l2_compat_ioctl32+0x58/0x90 [ 87.805882] __arm64_compat_sys_ioctl+0xec/0x254 Change-Id: I052503da4dd37c320acf45610338babad848e67c Signed-off-by: zhang sanshan <pete.zhang@nxp.com>