From e8a159defd760f20be04105f7085c4f7d9c4ebd4 Mon Sep 17 00:00:00 2001 From: Alex Waterman Date: Wed, 10 Aug 2016 14:12:48 -0700 Subject: 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 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 --- drivers/gpu/nvgpu/gk20a/gk20a_allocator.h | 4 ++++ 1 file changed, 4 insertions(+) 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 { * setting this flag will tell the allocator to manage pools of 4K pages * inside internally allocated large pages. * + * Currently this flag is ignored since the only usage of the page allocator + * uses a 4K block size already. However, this flag has been reserved since + * it will be necessary in the future. + * * GPU_ALLOC_FORCE_CONTIG * * Force allocations to be contiguous. Currently only relevant for page -- cgit v1.2.2