diff options
author | Alex Waterman <alexw@nvidia.com> | 2018-07-18 15:40:24 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-08-21 18:43:53 -0400 |
commit | bcf83fab33d8f1821cfcfd8c03411ea2fcf5334b (patch) | |
tree | 02cf711a3cc3aef77136f1a1aa0dba87203a5fab /drivers/gpu/nvgpu/common/therm | |
parent | da43fc55606f40f27c0f823671bca16a979634cc (diff) |
gpu: nvgpu: Set default large page size to 64K for gm20b
Since all userspace apps are using 64K pages these days it makes
sense to set the default large page size to 64K. This in turn
causes the PDE coverage field to be set to 64M in the GPU
characteristics field.
While it would therefor be possible to create a VM with a PDE
coverage that's larger than 64M (128M if you set the large
page size to 128K) this will make the defaults work properly.
This in turn fixes a CUDA issue where CUDA tries to determine
the PDE coverage (and correspondingly a minimum alignemnt) from
the characteristics IOCTL.
Bug 200105199
Change-Id: Iee3c213f1b81d8628571f46c7ad5e16fbfe07499
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1781088
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/therm')
0 files changed, 0 insertions, 0 deletions