drm/tegra: gem: Flush pages after allocation
authorThierry Reding <treding@nvidia.com>
Tue, 14 Apr 2015 10:52:36 +0000 (12:52 +0200)
committerThierry Reding <treding@nvidia.com>
Fri, 12 Jun 2015 14:25:40 +0000 (16:25 +0200)
commitfd73caa5e72f0fcf9732b18d123eead96286fd5b
tree8a2a13852fab168b00bfd86ed201e411612ad24d
parent4553f733c68b66ef49f838aa24470d58caf76ff5
drm/tegra: gem: Flush pages after allocation

Pages allocated from shmemfs don't end up being cleared and flushed on
ARMv7, so they must be flushed explicitly. Use the DMA mapping API for
that purpose, even though it's not used for anything else.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/gem.c