diff options
author | Alex Waterman <alexw@nvidia.com> | 2018-01-18 20:20:34 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-02-01 20:32:01 -0500 |
commit | 9f7ef3d53f36c7c9cf7f6b0002d831dfa9f57a7d (patch) | |
tree | c8dfc9f5362e79a0211ba9693a9bca8c2e21cd7f /drivers/gpu/nvgpu/pstate/pstate.c | |
parent | a7fe3a845049b62275ab660b51b6bc1300177d22 (diff) |
gpu: nvgpu: Set DMA mask to 34 bits
Set the DMA mask to 34 bits so that large DMA allocs can be done.
Currently the DMA mask is left unset which limits the size of the
maximum DMA allocation to 32 bits.
The 34 bit mask was chosen because it works for all chips (even
gm20b supports 34 bit physical addresses). However, newer chips
could use larger masks in the future if they desire.
Bug 200377221
Change-Id: Iaa0543f77ff4e2bd6616f38e4464240375bb37b6
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1641762
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/pstate/pstate.c')
0 files changed, 0 insertions, 0 deletions