summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp106/hal_gp106.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/gp106/hal_gp106.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/gp106/hal_gp106.c')
-rw-r--r--drivers/gpu/nvgpu/gp106/hal_gp106.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gp106/hal_gp106.c b/drivers/gpu/nvgpu/gp106/hal_gp106.c
index 90a513d6..89fe66c9 100644
--- a/drivers/gpu/nvgpu/gp106/hal_gp106.c
+++ b/drivers/gpu/nvgpu/gp106/hal_gp106.c
@@ -515,7 +515,6 @@ static const struct gpu_ops gp106_ops = {
515 .get_big_page_sizes = gm20b_mm_get_big_page_sizes, 515 .get_big_page_sizes = gm20b_mm_get_big_page_sizes,
516 .get_default_big_page_size = gp10b_mm_get_default_big_page_size, 516 .get_default_big_page_size = gp10b_mm_get_default_big_page_size,
517 .gpu_phys_addr = gm20b_gpu_phys_addr, 517 .gpu_phys_addr = gm20b_gpu_phys_addr,
518 .get_physical_addr_bits = NULL,
519 .get_mmu_levels = gp10b_mm_get_mmu_levels, 518 .get_mmu_levels = gp10b_mm_get_mmu_levels,
520 .init_pdb = gp10b_mm_init_pdb, 519 .init_pdb = gp10b_mm_init_pdb,
521 .init_mm_setup_hw = gp10b_init_mm_setup_hw, 520 .init_mm_setup_hw = gp10b_init_mm_setup_hw,