]> git.karo-electronics.de Git - linux-beck.git/commit
drm/tegra: gem: Flush buffer objects upon allocation
authorThierry Reding <treding@nvidia.com>
Tue, 16 Dec 2014 15:35:26 +0000 (16:35 +0100)
committerThierry Reding <treding@nvidia.com>
Wed, 17 Dec 2014 13:27:37 +0000 (14:27 +0100)
commita04251fc94b58ec25476e57986dfec727b812c22
treeb0f5e99c969ab2ce782030e918ac07e6ebf17ef9
parent6b59cc1c86e90cccf8fb0b4dee5fbc226bb82d3e
drm/tegra: gem: Flush buffer objects upon allocation

Buffers obtained via shmem may still have associated cachelines. If they
aren't properly flushed they may cause framebuffer corruption if the
cache gets flushed after the application has drawn to it.

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