diff options
author | Alex Waterman <alexw@nvidia.com> | 2016-08-10 17:12:48 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-08-30 13:04:34 -0400 |
commit | e8a159defd760f20be04105f7085c4f7d9c4ebd4 (patch) | |
tree | 5689323dd66652bcdc49ec1ac8992e35f9bb99bd /drivers/gpu/nvgpu | |
parent | 9e43258438a48eb23c6e65ad91ce88518d6a617a (diff) |
gpu: nvgpu: Clarify comment in allocator code
One of the flags that is defined for allocators has not yet been
imlpemented. This clarifies the comment and explains why the flag
has been defined even though it is not yet implemented.
Bug 1799159
Change-Id: I1e84439d63ca391941cee8e5362ffd9cc959744b
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/1201371
(cherry picked from commit 8e6566b173f17d9c169a9fa0f6104f4bbf608dc1)
Reviewed-on: http://git-master/r/1208477
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a_allocator.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a_allocator.h b/drivers/gpu/nvgpu/gk20a/gk20a_allocator.h index 9becf053..d4ff79b1 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a_allocator.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a_allocator.h | |||
@@ -107,6 +107,10 @@ struct gk20a_allocator { | |||
107 | * setting this flag will tell the allocator to manage pools of 4K pages | 107 | * setting this flag will tell the allocator to manage pools of 4K pages |
108 | * inside internally allocated large pages. | 108 | * inside internally allocated large pages. |
109 | * | 109 | * |
110 | * Currently this flag is ignored since the only usage of the page allocator | ||
111 | * uses a 4K block size already. However, this flag has been reserved since | ||
112 | * it will be necessary in the future. | ||
113 | * | ||
110 | * GPU_ALLOC_FORCE_CONTIG | 114 | * GPU_ALLOC_FORCE_CONTIG |
111 | * | 115 | * |
112 | * Force allocations to be contiguous. Currently only relevant for page | 116 | * Force allocations to be contiguous. Currently only relevant for page |