diff options
author | Alex Waterman <alexw@nvidia.com> | 2017-08-16 19:19:53 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-10-04 05:21:47 -0400 |
commit | edb116661348f1bc843849cdcc318fa47cf9724a (patch) | |
tree | 61d978a3518a51bdb82e2d3681abf5fc9c75821e /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 2559fa295d0c478466e47496174fa2108ab01c33 (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/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 8dabee63..db38fae4 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -741,7 +741,7 @@ struct gpu_ops { | |||
741 | struct nvgpu_mem *mem, int size); | 741 | struct nvgpu_mem *mem, int size); |
742 | u32 (*get_big_page_sizes)(void); | 742 | u32 (*get_big_page_sizes)(void); |
743 | u32 (*get_default_big_page_size)(void); | 743 | u32 (*get_default_big_page_size)(void); |
744 | u32 (*get_physical_addr_bits)(struct gk20a *g); | 744 | u32 (*get_iommu_bit)(struct gk20a *g); |
745 | int (*init_mm_setup_hw)(struct gk20a *g); | 745 | int (*init_mm_setup_hw)(struct gk20a *g); |
746 | bool (*is_bar1_supported)(struct gk20a *g); | 746 | bool (*is_bar1_supported)(struct gk20a *g); |
747 | int (*init_bar2_vm)(struct gk20a *g); | 747 | int (*init_bar2_vm)(struct gk20a *g); |