Re: [PATCH] gpu: host1x: Free the IOMMU domain when there is no device to attach

From: Thierry Reding
Date: Thu Jul 27 2017 - 12:45:50 EST


On Mon, Jul 10, 2017 at 09:33:05PM +0200, Paul Kocialkowski wrote:
> 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@xxxxxxxx>
> ---
> drivers/gpu/host1x/dev.c | 8 +++++++-
> 1 file changed, 7 insertions(+), 1 deletion(-)

Applied to drm-misc-fixes, thanks.

Oh, just noticed now that this didn't actually go to the DRM mailing
list (dri-devel@xxxxxxxxxxxxxxxxxxxxx). Might be a good idea to do that
next time to get more visibility.

Thierry

Attachment: signature.asc
Description: PGP signature