iommu/tegra: Use tegra_dev_iommu_get_stream_id() in the remaining places
authorJason Gunthorpe <jgg@nvidia.com>
Thu, 7 Dec 2023 18:03:14 +0000 (14:03 -0400)
committerJoerg Roedel <jroedel@suse.de>
Tue, 12 Dec 2023 09:18:51 +0000 (10:18 +0100)
commitbf9cd9fef9f15531680325f956f81317d46a159d
tree6c9eeb518623fdd32f2f6254d5242281fc0eaaf0
parentcdbc723f2da11331bc92858da50dc7a7610ed9bd
iommu/tegra: Use tegra_dev_iommu_get_stream_id() in the remaining places

This API was defined to formalize the access to internal iommu details on
some Tegra SOCs, but a few callers got missed. Add them.

The helper already masks by 0xFFFF so remove this code from the callers.

Suggested-by: Thierry Reding <thierry.reding@gmail.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/7-v2-16e4def25ebb+820-iommu_fwspec_p1_jgg@nvidia.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/dma/tegra186-gpc-dma.c
drivers/gpu/drm/nouveau/nvkm/subdev/ltc/gp10b.c
drivers/memory/tegra/tegra186.c