summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2017-04-10 16:51:43 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-04-25 17:26:00 -0400
commit126c735d3015f515bde9f26d10b4e34d6e194e36 (patch)
treee3c034e2b854d71b356e2701382d40dce70e1a6d /drivers/gpu/nvgpu/gk20a/mm_gk20a.h
parent6a14d980cfdce5609c0eb7b20e2da3d98fbbccb8 (diff)
gpu: nvgpu: Move and rename gk20a_sgtable*
Move and rename the functions that build sgtables for nvgpu_mems into the Linux specific DMA code. One place outside of the Linux code do include the Linux DMA header. That will be fixed in a subsequent patch. JIRA NVGPU-12 JIRA NVGPU-30 Change-Id: Ie43c752b8f998f122af70f7c7eb727af0b0d98df Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: http://git-master/r/1464078 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/mm_gk20a.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
index 94dc0b6f..9717efff 100644
--- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h
@@ -497,16 +497,6 @@ void gk20a_mm_dump_vm(struct vm_gk20a *vm,
497 497
498int gk20a_mm_suspend(struct gk20a *g); 498int gk20a_mm_suspend(struct gk20a *g);
499 499
500int gk20a_get_sgtable(struct device *d, struct sg_table **sgt,
501 void *cpuva, u64 iova,
502 size_t size);
503
504int gk20a_get_sgtable_from_pages(struct device *d, struct sg_table **sgt,
505 struct page **pages, u64 iova,
506 size_t size);
507
508void gk20a_free_sgtable(struct gk20a *g, struct sg_table **sgt);
509
510u64 gk20a_mm_iova_addr(struct gk20a *g, struct scatterlist *sgl, 500u64 gk20a_mm_iova_addr(struct gk20a *g, struct scatterlist *sgl,
511 u32 flags); 501 u32 flags);
512u64 gk20a_mm_smmu_vaddr_translate(struct gk20a *g, dma_addr_t iova); 502u64 gk20a_mm_smmu_vaddr_translate(struct gk20a *g, dma_addr_t iova);