diff options
author | Alex Waterman <alexw@nvidia.com> | 2017-03-21 17:32:13 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-04-06 21:14:58 -0400 |
commit | 8f2d4a3f4a0acc81bae6725d30506e92651a42b5 (patch) | |
tree | 5cfe8a72fc824d167d3ce0f207621e1e4eb88391 /drivers/gpu/nvgpu/vgpu | |
parent | c9665079d7b12f22a847c62587724b4ee120ca6e (diff) |
gpu: nvgpu: Move DMA API to dma.h
Make an nvgpu DMA API include file so that the intricacies of the
Linux DMA API can be hidden from the calling code.
Also document the nvgpu DMA API.
JIRA NVGPU-12
Change-Id: I7578e4c726ad46344b7921179d95861858e9a27e
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/1323326
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/fifo_vgpu.c | 1 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/gp10b/vgpu_gr_gp10b.c | 1 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/mm_vgpu.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c b/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c index cfe9322e..59fb0c4a 100644 --- a/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/fifo_vgpu.c | |||
@@ -17,6 +17,7 @@ | |||
17 | #include <trace/events/gk20a.h> | 17 | #include <trace/events/gk20a.h> |
18 | 18 | ||
19 | #include <nvgpu/kmem.h> | 19 | #include <nvgpu/kmem.h> |
20 | #include <nvgpu/dma.h> | ||
20 | 21 | ||
21 | #include "vgpu/vgpu.h" | 22 | #include "vgpu/vgpu.h" |
22 | #include "gk20a/ctxsw_trace_gk20a.h" | 23 | #include "gk20a/ctxsw_trace_gk20a.h" |
diff --git a/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_gr_gp10b.c b/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_gr_gp10b.c index 8cb5b029..527e12e4 100644 --- a/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_gr_gp10b.c +++ b/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_gr_gp10b.c | |||
@@ -12,6 +12,7 @@ | |||
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include <nvgpu/kmem.h> | 14 | #include <nvgpu/kmem.h> |
15 | #include <nvgpu/dma.h> | ||
15 | 16 | ||
16 | #include "vgpu/vgpu.h" | 17 | #include "vgpu/vgpu.h" |
17 | #include "vgpu/gm20b/vgpu_gr_gm20b.h" | 18 | #include "vgpu/gm20b/vgpu_gr_gm20b.h" |
diff --git a/drivers/gpu/nvgpu/vgpu/mm_vgpu.c b/drivers/gpu/nvgpu/vgpu/mm_vgpu.c index ea81cefe..b12f8a53 100644 --- a/drivers/gpu/nvgpu/vgpu/mm_vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/mm_vgpu.c | |||
@@ -16,6 +16,7 @@ | |||
16 | #include <linux/dma-mapping.h> | 16 | #include <linux/dma-mapping.h> |
17 | 17 | ||
18 | #include <nvgpu/kmem.h> | 18 | #include <nvgpu/kmem.h> |
19 | #include <nvgpu/dma.h> | ||
19 | 20 | ||
20 | #include "vgpu/vgpu.h" | 21 | #include "vgpu/vgpu.h" |
21 | #include "gk20a/mm_gk20a.h" | 22 | #include "gk20a/mm_gk20a.h" |