summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/include
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2017-09-27 18:13:45 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-10-10 11:49:05 -0400
commit37ec670601a879781e40ec71d9f713fa9c28564c (patch)
tree83573899a8c3620d66120da202a5518f3aabcc44 /drivers/gpu/nvgpu/include
parent3c37701377459fbea2b460e1b9c65a863dfb04b2 (diff)
gpu: nvgpu: Move PRAMIN functions to nvgpu_mem
PRAMIN batch access functions are only used by nvgpu_mem. The way the functions are written is Linux specific, so move the implementation from common PRAMIN code. JIRA NVGPU-259 Change-Id: I6e2aba08c98568c651a86fe8ca7f9f5220d67348 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1569697 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/pramin.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/pramin.h b/drivers/gpu/nvgpu/include/nvgpu/pramin.h
index 4c0fea14..687f247a 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/pramin.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/pramin.h
@@ -36,13 +36,6 @@ struct nvgpu_mem;
36typedef void (*pramin_access_batch_fn)(struct gk20a *g, u32 start, u32 words, 36typedef void (*pramin_access_batch_fn)(struct gk20a *g, u32 start, u32 words,
37 u32 **arg); 37 u32 **arg);
38 38
39/*
40 * Generally useful batch functions.
41 */
42void pramin_access_batch_rd_n(struct gk20a *g, u32 start, u32 words, u32 **arg);
43void pramin_access_batch_wr_n(struct gk20a *g, u32 start, u32 words, u32 **arg);
44void pramin_access_batch_set(struct gk20a *g, u32 start, u32 words, u32 **arg);
45
46void nvgpu_pramin_access_batched(struct gk20a *g, struct nvgpu_mem *mem, 39void nvgpu_pramin_access_batched(struct gk20a *g, struct nvgpu_mem *mem,
47 u32 offset, u32 size, 40 u32 offset, u32 size,
48 pramin_access_batch_fn loop, u32 **arg); 41 pramin_access_batch_fn loop, u32 **arg);