mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 11:04:51 +03:00
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>
This commit is contained in:
committed by
mobile promotions
parent
6a14d980cf
commit
126c735d30
@@ -497,16 +497,6 @@ void gk20a_mm_dump_vm(struct vm_gk20a *vm,
|
||||
|
||||
int gk20a_mm_suspend(struct gk20a *g);
|
||||
|
||||
int gk20a_get_sgtable(struct device *d, struct sg_table **sgt,
|
||||
void *cpuva, u64 iova,
|
||||
size_t size);
|
||||
|
||||
int gk20a_get_sgtable_from_pages(struct device *d, struct sg_table **sgt,
|
||||
struct page **pages, u64 iova,
|
||||
size_t size);
|
||||
|
||||
void gk20a_free_sgtable(struct gk20a *g, struct sg_table **sgt);
|
||||
|
||||
u64 gk20a_mm_iova_addr(struct gk20a *g, struct scatterlist *sgl,
|
||||
u32 flags);
|
||||
u64 gk20a_mm_smmu_vaddr_translate(struct gk20a *g, dma_addr_t iova);
|
||||
|
||||
Reference in New Issue
Block a user