summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/include/nvgpu/nvgpu_mem.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/include/nvgpu/nvgpu_mem.h')
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/nvgpu_mem.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/nvgpu_mem.h b/drivers/gpu/nvgpu/include/nvgpu/nvgpu_mem.h
index 93fce81e..dba7c320 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/nvgpu_mem.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/nvgpu_mem.h
@@ -319,14 +319,10 @@ int nvgpu_mem_create_from_mem(struct gk20a *g,
319void __nvgpu_mem_free_vidmem_alloc(struct gk20a *g, struct nvgpu_mem *vidmem); 319void __nvgpu_mem_free_vidmem_alloc(struct gk20a *g, struct nvgpu_mem *vidmem);
320 320
321/* 321/*
322 * Buffer accessors - wrap between begin() and end() if there is no permanent 322 * Buffer accessors. Sysmem buffers always have a CPU mapping and vidmem
323 * kernel mapping for this buffer. 323 * buffers are accessed via PRAMIN.
324 */ 324 */
325 325
326int nvgpu_mem_begin(struct gk20a *g, struct nvgpu_mem *mem);
327/* nop for null mem, like with free() or vunmap() */
328void nvgpu_mem_end(struct gk20a *g, struct nvgpu_mem *mem);
329
330/* word-indexed offset */ 326/* word-indexed offset */
331u32 nvgpu_mem_rd32(struct gk20a *g, struct nvgpu_mem *mem, u32 w); 327u32 nvgpu_mem_rd32(struct gk20a *g, struct nvgpu_mem *mem, u32 w);
332/* byte offset (32b-aligned) */ 328/* byte offset (32b-aligned) */