diff options
author | Alex Waterman <alexw@nvidia.com> | 2017-04-10 16:27:47 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-04-25 17:25:54 -0400 |
commit | 6a14d980cfdce5609c0eb7b20e2da3d98fbbccb8 (patch) | |
tree | ca04bbb2a27f28958bd7f884fef0327063b9152e /include/uapi/linux/nvgpu.h | |
parent | 39524b094180ab747287bc893e217dcbe5029e64 (diff) |
gpu: nvgpu: Add sub-nvgpu_mem
Add an API for creating a special sub-nvgpu_mem struct. This struct
comes with some fairly important caveats but is very useful for the
semaphore code.
Also, make sure that in nvgpu_mem_begin() and nvgpu_mem_end() no
additional mappings are made if not necessary. More importantly during
nvgpu_mem_end() it would be possible to vunmap() a CPU mapping of a
DMA allocation that does not expect this to happen.
JIRA NVGPU-12
JIRA NVGPU-30
Change-Id: I579429da9ff7288488753a113bafc558e0f17a0f
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/1464077
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
Diffstat (limited to 'include/uapi/linux/nvgpu.h')
0 files changed, 0 insertions, 0 deletions