msm: vidc: Remove kernel mapping on input/output buffers
This change will remove the kernel mapping of input and
output buffers for both video encoder and decoder to
avoid the errors resulting from ion_map_kernel() for
high resolution video concurrency use cases due to the
limited vmalloc space. It also removed the metadata
processing in kerner video driver as kernel virtual
address is removed. The metadata processing can be
done in user space video component.
Change-Id: I3f2c9b7c13b3e09097ce07ca7b59154b97401052
CRs-fixed: 471135
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
diff --git a/include/linux/msm_vidc_enc.h b/include/linux/msm_vidc_enc.h
index 9d714f0..7914723 100644
--- a/include/linux/msm_vidc_enc.h
+++ b/include/linux/msm_vidc_enc.h
@@ -495,6 +495,8 @@
long long timestamp;
unsigned long flags;
void *clientdata;
+ unsigned long metadata_len;
+ unsigned long metadata_offset;
};
struct venc_basecfg{