summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/Makefile.sources
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2018-08-14 14:30:48 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-09-05 23:38:42 -0400
commitb44c7fdb114a63ab98fffc0f246776b56399ff64 (patch)
treec523c2ea516aaed3b68271a77cf88ffa132e329d /drivers/gpu/nvgpu/Makefile.sources
parentef851272e5201f343c9b287a9eacfc25d4912276 (diff)
gpu: nvgpu: Move common DMA code to common/mm
This migrates the common DMA code (os agnostic) to the common directory. This new unit will be the common DMA allocator that lets users allocate SYSMEM, VIDMEM, or either. Other units will be responsible for actually handling the mechanics of allocating VIDMEM or SYSMEM. Also update the names of the DMA related files so that tmake doesn't complain about duplicate C file names. To do this call the common DMA file dma.c and prepend the OS to the other DMA files. So now we have: common/mm/dma.c os/posix/posix-dma.c os/linux/linux-dma.c JIRA NVGPU-990 Change-Id: I22d2d41803ad89be7d9c28f87864ce4fedf10836 Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1799807 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/Makefile.sources')
-rw-r--r--drivers/gpu/nvgpu/Makefile.sources3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/Makefile.sources b/drivers/gpu/nvgpu/Makefile.sources
index f09ebf78..7dc0251b 100644
--- a/drivers/gpu/nvgpu/Makefile.sources
+++ b/drivers/gpu/nvgpu/Makefile.sources
@@ -27,7 +27,7 @@ srcs := os/posix/nvgpu.c \
27 os/posix/kmem.c \ 27 os/posix/kmem.c \
28 os/posix/io.c \ 28 os/posix/io.c \
29 os/posix/posix-nvgpu_mem.c \ 29 os/posix/posix-nvgpu_mem.c \
30 os/posix/dma.c \ 30 os/posix/posix-dma.c \
31 os/posix/posix-vm.c \ 31 os/posix/posix-vm.c \
32 os/posix/timers.c \ 32 os/posix/timers.c \
33 os/posix/posix-comptags.c \ 33 os/posix/posix-comptags.c \
@@ -56,6 +56,7 @@ srcs := os/posix/nvgpu.c \
56 common/mm/nvgpu_mem.c \ 56 common/mm/nvgpu_mem.c \
57 common/mm/comptags.c \ 57 common/mm/comptags.c \
58 common/mm/mm.c \ 58 common/mm/mm.c \
59 common/mm/dma.c \
59 common/bus/bus_gk20a.c \ 60 common/bus/bus_gk20a.c \
60 common/bus/bus_gm20b.c \ 61 common/bus/bus_gm20b.c \
61 common/bus/bus_gp10b.c \ 62 common/bus/bus_gp10b.c \