summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/volt/volt.h
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2017-05-31 14:52:06 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-06-06 20:09:05 -0400
commit6bd7d22c0f248d0d29ea44b06798b247d0d2753a (patch)
tree7d79130eb0934fa351d8af9be900c7231eb0c91c /drivers/gpu/nvgpu/volt/volt.h
parent80197d2c9daa8e2320cc0b15741904eb3c1b9ba7 (diff)
gpu: nvgpu: Fix big_pages logic in nvgpu_vm_init
Fix the way big_pages is handled in nvgpu_vm_init(). Prior to this patch big_pages could wind up being true even if disable_bigpages is set in the mm struct. Clearly this is wrong. The logic is now simplified a little bit and makes it so that if the disable_bigpages field is set then the resulting VM created by nvgpu_vm_init() has only one user area (no need for a second LP user area) and the big_pages field for the VM is set to false. JIRA NVGPU-12 JIRA NVGPU-30 Change-Id: If5dc7fcf3fa4e070f87295406f0afe414269b702 Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: http://git-master/r/1493318 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com> Reviewed-by: Aingara Paramakuru <aparamakuru@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/volt/volt.h')
0 files changed, 0 insertions, 0 deletions