diff options
author | Jason Gunthorpe <[email protected]> | 2024-11-14 15:55:30 -0400 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2024-11-22 14:43:45 -0400 |
commit | 64214c2b95364d26cdff045d8bbefd37380edbe1 (patch) | |
tree | 15141f250e8dea847afd15e2d096ff96a7b15dfb /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
parent | 2d762281950877eb450ac98bc77a6d340f6b5249 (diff) |
iommu: Add ops->domain_alloc_nested()
It turns out all the drivers that are using this immediately call into
another function, so just make that function directly into the op. This
makes paging=NULL for domain_alloc_user and we can remove the argument in
the next patch.
The function mirrors the similar op in the viommu that allocates a nested
domain on top of the viommu's nesting parent. This version supports cases
where a viommu is not being used.
Link: https://patch.msgid.link/r/[email protected]
Reviewed-by: Lu Baolu <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions