diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2018-07-02 13:44:05 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-07-06 00:48:56 -0400 |
commit | 26783b85bfee4c2ef4f2ccc2d16ebc783dd0aa7d (patch) | |
tree | 3fbfb7dbbc39d95af270740fe642652f0b3e264e /drivers/gpu/nvgpu/os/linux/vm.c | |
parent | 3e12cea363c8a09038e870d7df9c047294a0a6a1 (diff) |
gpu: nvpgu: Rename Linux specific vidmem code
Rename os/linux/vidmem.c to os/linux/dmabuf_vidmem.c. The code is
mainly dealing with interfacing with Linux dmabuf framework and its
responsibilities got confused with common/mm/vidmem.c.
Also move the header include/nvgpu/linux/vidmem.h to
os/linux/dmabuf_vidmem.h. It does not expose any interface to outside
Linux code.
Change-Id: I2cb1057a8934d5cb5c5860023aa12f8f048a6684
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1768261
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/os/linux/vm.c')
-rw-r--r-- | drivers/gpu/nvgpu/os/linux/vm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/os/linux/vm.c b/drivers/gpu/nvgpu/os/linux/vm.c index eb9ca8fd..2b5ed103 100644 --- a/drivers/gpu/nvgpu/os/linux/vm.c +++ b/drivers/gpu/nvgpu/os/linux/vm.c | |||
@@ -27,7 +27,6 @@ | |||
27 | #include <nvgpu/vidmem.h> | 27 | #include <nvgpu/vidmem.h> |
28 | 28 | ||
29 | #include <nvgpu/linux/vm.h> | 29 | #include <nvgpu/linux/vm.h> |
30 | #include <nvgpu/linux/vidmem.h> | ||
31 | #include <nvgpu/linux/nvgpu_mem.h> | 30 | #include <nvgpu/linux/nvgpu_mem.h> |
32 | 31 | ||
33 | #include "gk20a/gk20a.h" | 32 | #include "gk20a/gk20a.h" |
@@ -36,6 +35,7 @@ | |||
36 | #include "platform_gk20a.h" | 35 | #include "platform_gk20a.h" |
37 | #include "os_linux.h" | 36 | #include "os_linux.h" |
38 | #include "dmabuf.h" | 37 | #include "dmabuf.h" |
38 | #include "dmabuf_vidmem.h" | ||
39 | 39 | ||
40 | static u32 nvgpu_vm_translate_linux_flags(struct gk20a *g, u32 flags) | 40 | static u32 nvgpu_vm_translate_linux_flags(struct gk20a *g, u32 flags) |
41 | { | 41 | { |