From 71dfbe4bd63c671935e18dfb92d4206ffd1bec0d Mon Sep 17 00:00:00 2001 From: Saurabh Kothawade Date: Thu, 10 Nov 2016 13:04:59 -0800 Subject: [PATCH] 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 --- drivers/media/platform/msm/vidc/msm_vidc.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/media/platform/msm/vidc/msm_vidc.c b/drivers/media/platform/msm/vidc/msm_vidc.c index 93e32ef4ac35..c4d06b658b30 100644 --- a/drivers/media/platform/msm/vidc/msm_vidc.c +++ b/drivers/media/platform/msm/vidc/msm_vidc.c @@ -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,