aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorLu Baolu <[email protected]>2020-07-24 01:49:22 +0000
committerJoerg Roedel <[email protected]>2020-07-24 08:51:21 +0000
commit19abcf70c2b16834a607db515b26a32b233c79eb (patch)
treedaab008f6593eb0cc569e969193b8d65e538dc89 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentiommu/vt-d: Refactor device_to_iommu() helper (diff)
downloadkernel-19abcf70c2b16834a607db515b26a32b233c79eb.tar.gz
kernel-19abcf70c2b16834a607db515b26a32b233c79eb.zip
iommu/vt-d: Add a helper to get svm and sdev for pasid
There are several places in the code that need to get the pointers of svm and sdev according to a pasid and device. Add a helper to achieve this for code consolidation and readability. Signed-off-by: Lu Baolu <[email protected]> Reviewed-by: Kevin Tian <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions