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/dmabuf.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/dmabuf.c')
-rw-r--r-- | drivers/gpu/nvgpu/os/linux/dmabuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/os/linux/dmabuf.c b/drivers/gpu/nvgpu/os/linux/dmabuf.c index 129739f0..6f07e88a 100644 --- a/drivers/gpu/nvgpu/os/linux/dmabuf.c +++ b/drivers/gpu/nvgpu/os/linux/dmabuf.c | |||
@@ -22,13 +22,13 @@ | |||
22 | #include <nvgpu/enabled.h> | 22 | #include <nvgpu/enabled.h> |
23 | 23 | ||
24 | #include <nvgpu/linux/vm.h> | 24 | #include <nvgpu/linux/vm.h> |
25 | #include <nvgpu/linux/vidmem.h> | ||
26 | 25 | ||
27 | #include "gk20a/gk20a.h" | 26 | #include "gk20a/gk20a.h" |
28 | 27 | ||
29 | #include "platform_gk20a.h" | 28 | #include "platform_gk20a.h" |
30 | #include "dmabuf.h" | 29 | #include "dmabuf.h" |
31 | #include "os_linux.h" | 30 | #include "os_linux.h" |
31 | #include "dmabuf_vidmem.h" | ||
32 | 32 | ||
33 | static void gk20a_mm_delete_priv(void *_priv) | 33 | static void gk20a_mm_delete_priv(void *_priv) |
34 | { | 34 | { |