]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: Protect IOMMU operations by mutex
authorThierry Reding <treding@nvidia.com>
Thu, 9 Mar 2017 19:04:56 +0000 (20:04 +0100)
committerThierry Reding <treding@nvidia.com>
Wed, 5 Apr 2017 16:11:44 +0000 (18:11 +0200)
commitf2eeb83c03738a32345e0cfad7ceba5aa0ef1124
treeb78421d8a9d21a0ea6a4606eba2301be8abc1de1
parentdd3ab6084d8eb47b15186db695eab1657117d382
drm/tegra: Protect IOMMU operations by mutex

IOMMU support is currently not thread-safe, which can cause crashes,
amongst other things, under certain workloads.

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