diff options
author | Alex Waterman <alexw@nvidia.com> | 2017-05-08 17:54:37 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-05-11 17:39:35 -0400 |
commit | 14571dc67f8e27818a84a1cbfb6b0fccac677606 (patch) | |
tree | 757a0177a2ada49a91ce7645c280526d85c409d2 /drivers/gpu/nvgpu/pmgr/pmgr.h | |
parent | 8bf6186b82ad484151003943a98ccac2ef8e2f54 (diff) |
gpu: nvgpu: Fix mem-API usage bug in ACR
The __nvgpu_mem_create_from_pages() API takes a number of pages from
which to create a buffer. In the ACR code only 1 page was passed. If
the WPR region (what the ACR code creates an nvgpu_mem from) is larger
than 1 page then the current code will truncate that region down to
only a single page.
Change-Id: I11833619c4f35a076f72071cc5b98ae2d192c5d0
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/1477672
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/pmgr/pmgr.h')
0 files changed, 0 insertions, 0 deletions