summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/Makefile
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
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')
-rw-r--r--drivers/gpu/nvgpu/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/Makefile b/drivers/gpu/nvgpu/Makefile
index 43a36221..a3372cef 100644
--- a/drivers/gpu/nvgpu/Makefile
+++ b/drivers/gpu/nvgpu/Makefile
@@ -65,7 +65,7 @@ nvgpu-y += \
65 os/linux/log.o \ 65 os/linux/log.o \
66 os/linux/cond.o \ 66 os/linux/cond.o \
67 os/linux/nvgpu_mem.o \ 67 os/linux/nvgpu_mem.o \
68 os/linux/dma.o \ 68 os/linux/linux-dma.o \
69 os/linux/driver_common.o \ 69 os/linux/driver_common.o \
70 os/linux/firmware.o \ 70 os/linux/firmware.o \
71 os/linux/thread.o \ 71 os/linux/thread.o \
@@ -180,6 +180,7 @@ nvgpu-y += \
180 common/mm/nvgpu_mem.o \ 180 common/mm/nvgpu_mem.o \
181 common/mm/comptags.o \ 181 common/mm/comptags.o \
182 common/mm/mm.o \ 182 common/mm/mm.o \
183 common/mm/dma.o \
183 common/enabled.o \ 184 common/enabled.o \
184 common/nvlink.o \ 185 common/nvlink.o \
185 common/pramin.o \ 186 common/pramin.o \