summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/pramin_gk20a.c
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2017-03-21 15:55:35 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-04-06 21:14:53 -0400
commitc9665079d7b12f22a847c62587724b4ee120ca6e (patch)
tree7882bd08193db4c34b3b8ad7df7013339da2fba1 /drivers/gpu/nvgpu/gk20a/pramin_gk20a.c
parentb69020bff5dfa69cad926c9374cdbe9a62509ffd (diff)
gpu: nvgpu: rename mem_desc to nvgpu_mem
Renaming was done with the following command: $ find -type f | \ xargs sed -i 's/struct mem_desc/struct nvgpu_mem/g' Also rename mem_desc.[ch] to nvgpu_mem.[ch]. JIRA NVGPU-12 Change-Id: I69395758c22a56aa01e3dffbcded70a729bf559a Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: http://git-master/r/1325547 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/pramin_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/pramin_gk20a.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/pramin_gk20a.c b/drivers/gpu/nvgpu/gk20a/pramin_gk20a.c
index 7e6005a2..9106bbe0 100644
--- a/drivers/gpu/nvgpu/gk20a/pramin_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/pramin_gk20a.c
@@ -24,7 +24,7 @@
24#include <nvgpu/hw/gk20a/hw_pram_gk20a.h> 24#include <nvgpu/hw/gk20a/hw_pram_gk20a.h>
25 25
26/* WARNING: returns pramin_window_lock taken, complement with pramin_exit() */ 26/* WARNING: returns pramin_window_lock taken, complement with pramin_exit() */
27static u32 gk20a_pramin_enter(struct gk20a *g, struct mem_desc *mem, 27static u32 gk20a_pramin_enter(struct gk20a *g, struct nvgpu_mem *mem,
28 struct page_alloc_chunk *chunk, u32 w) 28 struct page_alloc_chunk *chunk, u32 w)
29{ 29{
30 u64 bufbase = chunk->base; 30 u64 bufbase = chunk->base;
@@ -55,7 +55,7 @@ static u32 gk20a_pramin_enter(struct gk20a *g, struct mem_desc *mem,
55 return lo; 55 return lo;
56} 56}
57 57
58static void gk20a_pramin_exit(struct gk20a *g, struct mem_desc *mem, 58static void gk20a_pramin_exit(struct gk20a *g, struct nvgpu_mem *mem,
59 struct page_alloc_chunk *chunk) 59 struct page_alloc_chunk *chunk)
60{ 60{
61 gk20a_dbg(gpu_dbg_mem, "end for %p,%p", mem, chunk); 61 gk20a_dbg(gpu_dbg_mem, "end for %p,%p", mem, chunk);