msm: vidc: Flush cached video buffers before they are set on firmware

Same memory region might be allocated as cached by other processes
before it was allocated by video. Such memory can get flushed while
video hardware is accessing them causing artifacts. Explicit flush
in such cases, as recommended by kernel memory team, avoids such
issues.

Change-Id: Ic7edbee7ee9278c6431a8ae97bc6e4d1222896a9
Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>
1 file changed