diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2015-06-02 06:43:01 -0400 |
---|---|---|
committer | Deepak Nibade <dnibade@nvidia.com> | 2016-12-27 04:52:06 -0500 |
commit | 021748b782b054ed11d02341ee373f60b1ae0cb3 (patch) | |
tree | 87bc67bdeda08acc3f7a46d2c662e73a5948538a /drivers/gpu/nvgpu/boardobj/boardobjgrp.c | |
parent | 65ef5bc238a782e76c5d104ef90562b1fe6dd038 (diff) |
gpu: nvgpu: fix allocator_init() calls
Change for new VA space allocator is being reverted with
http://git-master/r/#/c/749291/ but only for Kernel3.18
In Kernel3.10, we support the new VA allocator
Since we support both the kernel versions as of now,
use a KERNEL_VERSION based mechanism to select
appropriate call
Define new macro NVGPU_USE_NEW_ALLOCATOR for Kernel3.10
where we want to use new allocator
Bug 200106514
Change-Id: I9af26d555278c40e03fe82b0912961a862c8bf55
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/751353
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/boardobj/boardobjgrp.c')
0 files changed, 0 insertions, 0 deletions