summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/buddy_allocator_priv.h
diff options
context:
space:
mode:
authorKonsta Holtta <kholtta@nvidia.com>2016-07-11 09:02:57 -0400
committerVijayakumar Subbu <vsubbu@nvidia.com>2016-07-21 08:58:25 -0400
commit6706e4c40646cbde8a8106a13de285eda6ede701 (patch)
treeb691e4b538fa44608ee64fd0e176ae8c40da1e13 /drivers/gpu/nvgpu/gk20a/buddy_allocator_priv.h
parent13231006671a1da11cfaf7a67e69430199820788 (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 'drivers/gpu/nvgpu/gk20a/buddy_allocator_priv.h')
0 files changed, 0 insertions, 0 deletions