From 37ec670601a879781e40ec71d9f713fa9c28564c Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Wed, 27 Sep 2017 15:13:45 -0700 Subject: 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 Reviewed-on: https://git-master.nvidia.com/r/1569697 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/include/nvgpu/pramin.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'drivers/gpu/nvgpu/include') 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; typedef void (*pramin_access_batch_fn)(struct gk20a *g, u32 start, u32 words, u32 **arg); -/* - * Generally useful batch functions. - */ -void pramin_access_batch_rd_n(struct gk20a *g, u32 start, u32 words, u32 **arg); -void pramin_access_batch_wr_n(struct gk20a *g, u32 start, u32 words, u32 **arg); -void pramin_access_batch_set(struct gk20a *g, u32 start, u32 words, u32 **arg); - void nvgpu_pramin_access_batched(struct gk20a *g, struct nvgpu_mem *mem, u32 offset, u32 size, pramin_access_batch_fn loop, u32 **arg); -- cgit v1.2.2