Re: [PATCH v3 18/21] drm/rockchip: Use iommu_paging_domain_alloc()

2024-06-19 Thread Jason Gunthorpe
On Mon, Jun 10, 2024 at 04:55:52PM +0800, Lu Baolu wrote: > Commit <421be3ee36a4> ("drm/rockchip: Refactor IOMMU initialisation") has > refactored rockchip_drm_init_iommu() to pass a device that the domain is > allocated for. Replace iommu_domain_alloc() with > iommu_paging_domain_alloc() to retire

[PATCH v3 18/21] drm/rockchip: Use iommu_paging_domain_alloc()

2024-06-10 Thread Lu Baolu
Commit <421be3ee36a4> ("drm/rockchip: Refactor IOMMU initialisation") has refactored rockchip_drm_init_iommu() to pass a device that the domain is allocated for. Replace iommu_domain_alloc() with iommu_paging_domain_alloc() to retire the former. Signed-off-by: Lu Baolu --- drivers/gpu/drm/rockch