]> 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)
commitaf815af8daddd8dd2af773709b332a03ee70675f
treeb78421d8a9d21a0ea6a4606eba2301be8abc1de1
parentbd44cd6840f39d36ffdd08d0655a49d39495b6cf
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