]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitae6129bd194c83c20d98936ec57f9fc36116f320
tree8a2a13852fab168b00bfd86ed201e411612ad24d
parentc2130eb28da3eb33b91cd8d4659c15172a60bd04
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