msm: vidc: Invalidate cache for input buffers

During DQBUF, invalidate cache for input buffers
so that when clients access buffers, they read
updated values.

CRs-Fixed: 1088598
Change-Id: Id38e0dd5899fc0ec0d24e19061e458e6f28249e3
Signed-off-by: Saurabh Kothawade <skothawa@codeaurora.org>
This commit is contained in:
Saurabh Kothawade 2016-11-10 13:04:59 -08:00
parent e95375540c
commit 71dfbe4bd6

View file

@ -652,10 +652,6 @@ int output_buffer_cache_invalidate(struct msm_vidc_inst *inst,
return -EINVAL;
}
if (binfo->type != V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE)
return 0;
for (i = 0; i < binfo->num_planes; i++) {
if (binfo->handle[i]) {
rc = msm_comm_smem_cache_operations(inst,