diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2015-03-20 04:04:59 -0400 |
---|---|---|
committer | Deepak Nibade <dnibade@nvidia.com> | 2016-12-27 04:52:04 -0500 |
commit | 9f22ad4687068089696bf61e5e900361e2b62502 (patch) | |
tree | 25a345dac7831538c27fa9398b3e6e631f52c12d /drivers/gpu/nvgpu/gp10b/ce2_gp10b.c | |
parent | 022d8a602cc0d707573ff5ce0dd82230e8a80c1c (diff) |
gpu: nvgpu: add get_iova_addr() for gp10b
Add platform specific gp10b_mm_iova_addr() to get
iova/phys address for gp10b
If SMMU is not enabled and IO coherence flag is set,
set 34th bit in the physical address and return the
physical address
If SMMU is enabled, return the iova address
Bug 1605653
Change-Id: I5c91a8c8d85d8a8e422406e3c91fc1dda3cb0870
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/713106
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/ce2_gp10b.c')
0 files changed, 0 insertions, 0 deletions