diff options
author | Alex Waterman <alexw@nvidia.com> | 2017-03-15 19:42:12 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-04-06 21:14:48 -0400 |
commit | b69020bff5dfa69cad926c9374cdbe9a62509ffd (patch) | |
tree | 222f6b6bc23561a38004a257cbac401e431ff3be /drivers/gpu/nvgpu/gm20b/mm_gm20b.c | |
parent | fa4ecf5730a75269e85cc41c2ad2ee61307e72a9 (diff) |
gpu: nvgpu: Rename gk20a_mem_* functions
Rename the functions used for mem_desc access to nvgpu_mem_*.
JIRA NVGPU-12
Change-Id: Ibfdc1112d43f0a125e4487c250e3f977ffd2cd75
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/1323325
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/mm_gm20b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/mm_gm20b.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/mm_gm20b.c b/drivers/gpu/nvgpu/gm20b/mm_gm20b.c index 949a5c5d..08d446e7 100644 --- a/drivers/gpu/nvgpu/gm20b/mm_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/mm_gm20b.c | |||
@@ -28,7 +28,7 @@ static void gm20b_mm_set_big_page_size(struct gk20a *g, | |||
28 | gk20a_dbg_fn(""); | 28 | gk20a_dbg_fn(""); |
29 | 29 | ||
30 | gk20a_dbg_info("big page size %d\n", size); | 30 | gk20a_dbg_info("big page size %d\n", size); |
31 | val = gk20a_mem_rd32(g, mem, ram_in_big_page_size_w()); | 31 | val = nvgpu_mem_rd32(g, mem, ram_in_big_page_size_w()); |
32 | val &= ~ram_in_big_page_size_m(); | 32 | val &= ~ram_in_big_page_size_m(); |
33 | 33 | ||
34 | if (size == SZ_64K) | 34 | if (size == SZ_64K) |
@@ -36,7 +36,7 @@ static void gm20b_mm_set_big_page_size(struct gk20a *g, | |||
36 | else | 36 | else |
37 | val |= ram_in_big_page_size_128kb_f(); | 37 | val |= ram_in_big_page_size_128kb_f(); |
38 | 38 | ||
39 | gk20a_mem_wr32(g, mem, ram_in_big_page_size_w(), val); | 39 | nvgpu_mem_wr32(g, mem, ram_in_big_page_size_w(), val); |
40 | gk20a_dbg_fn("done"); | 40 | gk20a_dbg_fn("done"); |
41 | } | 41 | } |
42 | 42 | ||