]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
video: tegra: nvmap: fix kernel cache maintenance
authorSri Krishna chowdary <schowdary@nvidia.com>
Tue, 1 Apr 2014 12:18:52 +0000 (17:48 +0530)
committerTony Ly <tly@nvidia.com>
Wed, 7 May 2014 18:51:26 +0000 (11:51 -0700)
commit8b15adcd89830cd168c601092306b0a16855f2cf
tree145e043b71f145e9e2d65c8be587722a15f8ebf4
parent0d7fd762a2d0eddd1bc836176b0aa9919409ed3b
video: tegra: nvmap: fix kernel cache maintenance

On begin cpu access, flush the memory being accessed.
On end cpu access, update latest entries in pages.
Here we assume that client do not access memory that is currently
part of a DMA transfer.

Change-Id: I0410878682188358940af0cf3275ea6e5c59321b
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/390723
(cherry picked from commit b30505d6e98ca74b727f1adebc4f5d3a65cdf246)
Reviewed-on: http://git-master/r/405094
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
drivers/video/tegra/nvmap/nvmap_dmabuf.c