diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2018-06-26 06:10:12 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-06-28 14:13:53 -0400 |
commit | e8d51f0c32708ce5b42660bce57bf715227e37d5 (patch) | |
tree | b1f81557212691f4cc6bee648c3c062c11298bcf /drivers/gpu/nvgpu/common/posix | |
parent | dc1e91a2d7af365b878418d427fb16e4d0192028 (diff) |
gpu: nvgpu: remove nvgpu_mem_{begin,end}()
The NVGPU_DMA_NO_KERNEL_MAPPING flag is going away, and these functions
are no longer used. Delete them.
Change-Id: I0084d64c92783dd65306871e5cf6bd6366087caf
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1761581
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/posix')
-rw-r--r-- | drivers/gpu/nvgpu/common/posix/posix-nvgpu_mem.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/gpu/nvgpu/common/posix/posix-nvgpu_mem.c b/drivers/gpu/nvgpu/common/posix/posix-nvgpu_mem.c index f8feb6a2..7f3bf9f1 100644 --- a/drivers/gpu/nvgpu/common/posix/posix-nvgpu_mem.c +++ b/drivers/gpu/nvgpu/common/posix/posix-nvgpu_mem.c | |||
@@ -31,16 +31,6 @@ | |||
31 | * can emulate a lot of the DMA mem functionality for unit testing purposes. | 31 | * can emulate a lot of the DMA mem functionality for unit testing purposes. |
32 | */ | 32 | */ |
33 | 33 | ||
34 | int nvgpu_mem_begin(struct gk20a *g, struct nvgpu_mem *mem) | ||
35 | { | ||
36 | return 0; | ||
37 | } | ||
38 | |||
39 | void nvgpu_mem_end(struct gk20a *g, struct nvgpu_mem *mem) | ||
40 | { | ||
41 | return; | ||
42 | } | ||
43 | |||
44 | u32 nvgpu_mem_rd32(struct gk20a *g, struct nvgpu_mem *mem, u32 w) | 34 | u32 nvgpu_mem_rd32(struct gk20a *g, struct nvgpu_mem *mem, u32 w) |
45 | { | 35 | { |
46 | u32 *mem_ptr = (u32 *)mem->cpu_va; | 36 | u32 *mem_ptr = (u32 *)mem->cpu_va; |