]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
video: tegra: nvmap: treat writecombine requests as dmacoherent
authorKrishna Reddy <vdumpa@nvidia.com>
Mon, 10 Mar 2014 23:08:15 +0000 (16:08 -0700)
committerKrishna Reddy <vdumpa@nvidia.com>
Tue, 1 Apr 2014 03:52:02 +0000 (20:52 -0700)
commitb703a2b457b3e25ad324c7991bcec9fbeb8e7f63
treed9946d093e63d9b136431028af814e8483a58ef6
parente689ca8002adcae546acbe9d3a1f4f8eb6227e6f
video: tegra: nvmap: treat writecombine requests as dmacoherent

NvMap always allocates DRAM or IRAM memory. It never allocates real
Device memory. From Arm v8 onwards writecombine memory is real
writecombine, which is of less performace for DRAM accesses and
unnecessary for DRAM.
Treat writecombine requests as dmacoherent, which is normal memory
non-cacheable.

Change-Id: I5c19a5f0f033eec3680bf6b9db1cbbfb02090f3d
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/379702
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sri Krishna Chowdary <schowdary@nvidia.com>
drivers/video/tegra/nvmap/nvmap_priv.h