summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/pmgr/pmgrpmu.h
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2017-08-16 18:53:55 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-10-04 05:19:08 -0400
commit2559fa295d0c478466e47496174fa2108ab01c33 (patch)
tree94d1c9f12edb985b984e8599653c38a836be2adb /drivers/gpu/nvgpu/pmgr/pmgrpmu.h
parent84f2356b13fdad636c33d1d2908ff2e977a09bf0 (diff)
gpu: nvgpu: Add common vaddr translate function
Add a function to do address translation for IOMMU capable GPUs. When an iGPU is behind and IOMMU it can pick whether to use that IOMMU for translation by adding a bit to physical addresses. This function takes care of that. However, this required an abstracted nvgpu_iommuable() API to check whether a GPU is behind an IOMMU. This patch adds that API for Linux. JIRA NVGPU-68 Change-Id: I489d14475167c019c294407372395df78c8b5feb Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1542965 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Sourab Gupta <sourabg@nvidia.com> Reviewed-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/pmgr/pmgrpmu.h')
0 files changed, 0 insertions, 0 deletions