summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/mm_gp10b.c
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2017-08-16 19:19:53 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-10-04 05:21:47 -0400
commitedb116661348f1bc843849cdcc318fa47cf9724a (patch)
tree61d978a3518a51bdb82e2d3681abf5fc9c75821e /drivers/gpu/nvgpu/gp10b/mm_gp10b.c
parent2559fa295d0c478466e47496174fa2108ab01c33 (diff)
gpu: nvgpu: rename ops.mm.get_physical_addr_bits
Rename get_physical_addr_bits and related functions to something that more clearly conveys what they are doing. The basic idea of these functions is to translate from a physical GPU address to a IOMMU GPU address. To do that a particular bit (that varies from chip to chip) is added to the physical address. JIRA NVGPU-68 Change-Id: I536cc595c4397aad69a24f740bc74db03f52bc0a Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1542966 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/mm_gp10b.c')
-rw-r--r--drivers/gpu/nvgpu/gp10b/mm_gp10b.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/mm_gp10b.c b/drivers/gpu/nvgpu/gp10b/mm_gp10b.c
index 96da6cf5..06a9b929 100644
--- a/drivers/gpu/nvgpu/gp10b/mm_gp10b.c
+++ b/drivers/gpu/nvgpu/gp10b/mm_gp10b.c
@@ -41,7 +41,7 @@ u32 gp10b_mm_get_default_big_page_size(void)
41 return SZ_64K; 41 return SZ_64K;
42} 42}
43 43
44u32 gp10b_mm_get_physical_addr_bits(struct gk20a *g) 44u32 gp10b_mm_get_iommu_bit(struct gk20a *g)
45{ 45{
46 return 36; 46 return 36;
47} 47}