summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/mm_gp10b.h
diff options
context:
space:
mode:
authorBharat Nihalani <bnihalani@nvidia.com>2015-06-04 08:11:04 -0400
committerDeepak Nibade <dnibade@nvidia.com>2016-12-27 04:52:06 -0500
commitdfe6493dcba650318275b73e62fe2e5d35b36622 (patch)
treeebb4cf8e04421719e368f31bb525b8269870d168 /drivers/gpu/nvgpu/gp10b/mm_gp10b.h
parentc25a2ac26e11057c1bef0da7b4a661247817140f (diff)
Revert "gpu: nvgpu: fix allocator_init() calls"
This reverts commit 053037f1450d6ba6c5d01abcdcd9b24019ae8c85 since the issue seen with bug 200106514 is fixed with change http://git-master/r/#/c/752080/. Bug 200112195 Change-Id: If54eb570fd2ad5de99d180d03d5d90492283fe33 Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-on: http://git-master/r/752504 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/mm_gp10b.h')
-rw-r--r--drivers/gpu/nvgpu/gp10b/mm_gp10b.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/mm_gp10b.h b/drivers/gpu/nvgpu/gp10b/mm_gp10b.h
index f34200a0..034944e0 100644
--- a/drivers/gpu/nvgpu/gp10b/mm_gp10b.h
+++ b/drivers/gpu/nvgpu/gp10b/mm_gp10b.h
@@ -14,16 +14,8 @@
14#ifndef MM_GP10B_H 14#ifndef MM_GP10B_H
15#define MM_GP10B_H 15#define MM_GP10B_H
16 16
17#include <linux/version.h>
18
19#define NVGPU_MM_GET_IO_COHERENCE_BIT 35 17#define NVGPU_MM_GET_IO_COHERENCE_BIT 35
20 18
21#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 18, 0)
22#define NVGPU_USE_NEW_ALLOCATOR 1
23#else
24#define NVGPU_USE_NEW_ALLOCATOR 0
25#endif
26
27struct gpu_ops; 19struct gpu_ops;
28 20
29void gp10b_init_mm(struct gpu_ops *gops); 21void gp10b_init_mm(struct gpu_ops *gops);