summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/Makefile.nvgpu
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2016-07-21 21:26:20 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2016-08-30 13:04:10 -0400
commit448df6ed271a7b73a1a5e3dfbba826e745b82922 (patch)
tree284c4c4ede880629df1c342e2d5516c462d5ed56 /drivers/gpu/nvgpu/Makefile.nvgpu
parent954258e121d2436097d5fc1abc6b7d73ddd784f6 (diff)
gpu: nvgpu: Implement a vidmem allocator
Implement an allocator suitable for managing the video memory on dGPUs. It works by allocating chunks from an underlying buddy allocator and collating the chunks together (similar to what an sgt does in the wider Linux kernel). This handles the ability to get large buffers in potentially fragmented memory. The GMMU can then obviously map the physical vidmem into contiguous GVA spaces. Jira DNVGPU-96 Change-Id: Ic1d7800b033a170b77790aa23fad6858443d0e89 Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: http://git-master/r/1197203 (cherry picked from commit fa44684a843956ae384fef6d7a79b9cbbd04f73e) Reviewed-on: http://git-master/r/1185231 GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/Makefile.nvgpu')
-rw-r--r--drivers/gpu/nvgpu/Makefile.nvgpu1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/Makefile.nvgpu b/drivers/gpu/nvgpu/Makefile.nvgpu
index e3c115c6..7e703706 100644
--- a/drivers/gpu/nvgpu/Makefile.nvgpu
+++ b/drivers/gpu/nvgpu/Makefile.nvgpu
@@ -55,6 +55,7 @@ nvgpu-y := \
55 gk20a/gk20a_allocator.o \ 55 gk20a/gk20a_allocator.o \
56 gk20a/gk20a_allocator_bitmap.o \ 56 gk20a/gk20a_allocator_bitmap.o \
57 gk20a/gk20a_allocator_buddy.o \ 57 gk20a/gk20a_allocator_buddy.o \
58 gk20a/gk20a_allocator_page.o \
58 gk20a/cde_gk20a.o \ 59 gk20a/cde_gk20a.o \
59 gk20a/platform_gk20a_generic.o \ 60 gk20a/platform_gk20a_generic.o \
60 gk20a/tsg_gk20a.o \ 61 gk20a/tsg_gk20a.o \