Skip to content
Commit fea20995 authored by Paul Kocialkowski's avatar Paul Kocialkowski Committed by Thierry Reding
Browse files

gpu: host1x: Free the IOMMU domain when there is no device to attach



When there is no device to attach to the IOMMU domain, as may be the
case when the device-tree does not contain the proper iommu node, it is
best to keep going without IOMMU support rather than failing.
This allows the driver to probe and function instead of taking down
all of the tegra drm driver, leading to missing display support.

Signed-off-by: default avatarPaul Kocialkowski <contact@paulk.fr>
Fixes: 404bfb78

 ("gpu: host1x: Add IOMMU support")
Reviewed-by: default avatarMikko Perttunen <mperttunen@nvidia.com>
Tested-by: default avatarMarcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170710193305.5987-1-contact@paulk.fr
parent b9670ca2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment