diff options
author | Jason Gunthorpe <[email protected]> | 2024-01-30 12:14:54 -0400 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2024-02-01 13:17:21 +0100 |
commit | fae6e669cdc52fdbb843e7fb1b8419642b6b8cba (patch) | |
tree | 51f860dc80f3008be363aa2c2f66fbcfe70bc095 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 83b3836bf83f09beea5f592b126cfdd1bc921e48 (diff) |
drm/tegra: Do not assume that a NULL domain means no DMA IOMMU
Previously with tegra-smmu, even with CONFIG_IOMMU_DMA, the default domain
could have been left as NULL. The NULL domain is specially recognized by
host1x_client_iommu_attach() as meaning it is not the DMA domain and
should be replaced with the special shared domain.
This happened prior to the below commit because tegra-smmu was using the
NULL domain to mean IDENTITY.
Now that the domain is properly labled the test in DRM doesn't see NULL.
Check for IDENTITY as well to enable the special domains.
Fixes: c8cc2655cc6c ("iommu/tegra-smmu: Implement an IDENTITY domain")
Reported-by: [email protected]
Closes: https://lore.kernel.org/all/bbmhcoghrprmbdibnjum6lefix2eoquxrde7wyqeulm4xabmlm@b6jy32saugqh/
Tested-by: [email protected]
Signed-off-by: Jason Gunthorpe <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions