]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: dc: Detach IOMMU group from domain only once
authorThierry Reding <treding@nvidia.com>
Sat, 17 Mar 2018 00:52:38 +0000 (01:52 +0100)
committerThierry Reding <treding@nvidia.com>
Mon, 19 Mar 2018 08:57:04 +0000 (09:57 +0100)
commit9653ce8e867eaaf2f4bb0945189414000a60c470
treed15809b23cc887cce560ea74537c92205d4ed067
parent97228d5722b04e29aa804d089698105cc1527cbe
drm/tegra: dc: Detach IOMMU group from domain only once

Detaching from an IOMMU group multiple times can lead to a crash. This
could potentially be fixed in the IOMMU driver, but it's easy to avoid
the subsequent detach operations in this driver, so do that as well.

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