linux/drivers/gpu/host1x
Paul Kocialkowski fea2099597 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: Paul Kocialkowski <contact@paulk.fr>
Fixes: 404bfb78da ("gpu: host1x: Add IOMMU support")
Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
Tested-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170710193305.5987-1-contact@paulk.fr
2017-07-27 16:57:34 +02:00
..
hw gpu: host1x: Refactor channel allocation code 2017-06-15 14:25:38 +02:00
Kconfig gpu: host1x: select IOMMU_IOVA 2017-05-18 10:41:28 -04:00
Makefile gpu: host1x: Add Tegra210 support 2015-12-14 10:50:33 +01:00
bus.c gpu: host1x: Flesh out kerneldoc 2017-06-15 13:58:43 +02:00
bus.h gpu: host1x: Provide a proper struct bus_type 2015-01-27 10:09:14 +01:00
cdma.c gpu: host1x: Add IOMMU support 2017-04-05 18:11:43 +02:00
cdma.h gpu: host1x: Remove unused host1x_cdma_stop() definition 2017-06-15 14:25:18 +02:00
channel.c gpu: host1x: Refactor channel allocation code 2017-06-15 14:25:38 +02:00
channel.h gpu: host1x: Refactor channel allocation code 2017-06-15 14:25:38 +02:00
debug.c gpu: host1x: Refactor channel allocation code 2017-06-15 14:25:38 +02:00
debug.h gpu: host1x: Add debug support 2013-04-22 12:32:46 +02:00
dev.c gpu: host1x: Free the IOMMU domain when there is no device to attach 2017-07-27 16:57:34 +02:00
dev.h gpu: host1x: Refactor channel allocation code 2017-06-15 14:25:38 +02:00
intr.c gpu: host1x: Constify array of action handlers 2016-06-23 11:59:31 +02:00
intr.h gpu: host1x: Use unsigned int consistently for IDs 2016-06-23 11:59:24 +02:00
job.c gpu: host1x: At first try a non-blocking allocation for the gather copy 2017-06-15 14:25:56 +02:00
job.h gpu: host1x: Remove unused 'struct host1x_cmdbuf' 2017-06-15 14:24:59 +02:00
mipi.c drm/tegra: dsi: Enhance runtime power management 2016-08-24 15:58:57 +02:00
syncpt.c gpu: host1x: Flesh out kerneldoc 2017-06-15 13:58:43 +02:00
syncpt.h gpu: host1x: Use unsigned int consistently for IDs 2016-06-23 11:59:24 +02:00