diff options
author | Saurabh Kothawade <skothawa@codeaurora.org> | 2016-11-10 13:04:59 -0800 |
---|---|---|
committer | Saurabh Kothawade <skothawa@codeaurora.org> | 2016-11-10 15:42:12 -0800 |
commit | 71dfbe4bd63c671935e18dfb92d4206ffd1bec0d (patch) | |
tree | c8acea473954aa949c7947895d385314f37d7b99 /drivers | |
parent | e95375540c79e0d0b48953141559fec4b6bcbf96 (diff) |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/platform/msm/vidc/msm_vidc.c | 4 |
1 files changed, 0 insertions, 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, |