diff options
author | Alex Waterman <alexw@nvidia.com> | 2017-08-10 21:17:55 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-08-14 04:00:24 -0400 |
commit | df6496384794169c833c82c7aa4d9f1b0100b7e1 (patch) | |
tree | 3cdafd5f82dad5a92c2ae3b120d1151754dfdeb8 /drivers/gpu/nvgpu/ctrl/ctrltherm.h | |
parent | be122117d0bdc51e50a890268d35604c69545a43 (diff) |
gpu: nvgpu: Fix length passed to VIDMEM map
The call to __set_pd_level() for vidmem allocs had the wrong
length being passed in. This was a silent error since the subsequent
__set_pd_level() calls overwrote the bad mappings. However this
caused significantly more PDE/PTE writes than necessary since
each chunk could be mapped N times where N is the number of chunks
in an SGL.
Change-Id: Ied7247b70825dc91b9eea1c3350f4ef370ab1a52
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1537078
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
Reviewed-by: Konsta Holtta <kholtta@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/ctrl/ctrltherm.h')
0 files changed, 0 insertions, 0 deletions