diff options
author | Alex Waterman <alexw@nvidia.com> | 2016-10-31 17:40:19 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-01-31 19:23:07 -0500 |
commit | b9b94c073ce551935be1c00cb8e756ad5ce5c631 (patch) | |
tree | 86e4c2b750e9a8eb0d23006ce4dce99906d95ab6 /drivers/gpu/nvgpu/gk20a/as_gk20a.c | |
parent | 321537b8edaa9464381c70982470124e699a054a (diff) |
gpu: nvgpu: Remove separate fixed address VMA
Remove the special VMA that could be used for allocating fixed
addresses. This feature was never used and is not worth maintaining.
Bug 1396644
Bug 1729947
Change-Id: I06f92caa01623535516935acc03ce38dbdb0e318
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/1265302
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/as_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/as_gk20a.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/as_gk20a.c b/drivers/gpu/nvgpu/gk20a/as_gk20a.c index adf0297b..c8b3b02f 100644 --- a/drivers/gpu/nvgpu/gk20a/as_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/as_gk20a.c | |||
@@ -279,9 +279,7 @@ static int gk20a_as_ioctl_get_va_regions( | |||
279 | 279 | ||
280 | for (i = 0; i < write_entries; ++i) { | 280 | for (i = 0; i < write_entries; ++i) { |
281 | struct nvgpu_as_va_region region; | 281 | struct nvgpu_as_va_region region; |
282 | struct nvgpu_allocator *vma = | 282 | struct nvgpu_allocator *vma = vm->vma[i]; |
283 | nvgpu_alloc_initialized(&vm->fixed) ? | ||
284 | &vm->fixed : vm->vma[i]; | ||
285 | 283 | ||
286 | memset(®ion, 0, sizeof(struct nvgpu_as_va_region)); | 284 | memset(®ion, 0, sizeof(struct nvgpu_as_va_region)); |
287 | 285 | ||