• Thierry Reding's avatar
    drm/tegra: Setup shared IOMMU domain after initialization · b9f8b09c
    Thierry Reding authored
    Move initialization of the shared IOMMU domain after the host1x device
    has been initialized. At this point all the Tegra DRM clients have been
    attached to the shared IOMMU domain.
    
    This is important because Tegra186 and later use an ARM SMMU, for which
    the driver defers setting up the geometry for a domain until a device is
    attached to it. This is to ensure that the domain is properly set up for
    a specific ARM SMMU instance, which is unknown at allocation time.
    Reviewed-by: default avatarDmitry Osipenko <digetx@gmail.com>
    Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
    b9f8b09c
drm.c 30.6 KB