diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2016-07-11 09:02:57 -0400 |
---|---|---|
committer | Vijayakumar Subbu <vsubbu@nvidia.com> | 2016-07-21 08:58:25 -0400 |
commit | 6706e4c40646cbde8a8106a13de285eda6ede701 (patch) | |
tree | b691e4b538fa44608ee64fd0e176ae8c40da1e13 /include/uapi/linux/nvgpu.h | |
parent | 13231006671a1da11cfaf7a67e69430199820788 (diff) |
gpu: nvgpu: support userspace vidmem mappings
When mapping a userspace buffer, determine if it was vidmem allocated
from the aperture of the current gpu, and pass that information into
page tables.
Mapping a vidmem buffer to a gpu it wasn't allocated from is disallowed.
This includes mapping vidmem to igpus and to possibly other dgpus on the
system.
Jira DNVGPU-19
Change-Id: Ia9d2d0133e77659ab96b36ed61eeb4cd5a2b7dff
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: http://git-master/r/1169309
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Diffstat (limited to 'include/uapi/linux/nvgpu.h')
0 files changed, 0 insertions, 0 deletions