diff options
author | Alex Waterman <alexw@nvidia.com> | 2017-04-12 14:19:09 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-04-25 17:26:00 -0400 |
commit | aff9d46c00a2a82c93d6cc43d790584e7e474d0e (patch) | |
tree | dd86be88334529cf4b109c68e477a9e5c0e6b8b6 /drivers/gpu/nvgpu/perf/perf.h | |
parent | 5714f5eaaf4715c9989e5c2bf732cdb9136b0fbe (diff) |
gpu: nvgpu: Add __nvgpu_mem_create_from_pages()
Add a function to create a nvgpu_mem from a list of arbitrary pages.
This API is useful for pages not necessarily allocated by the Linux
page allocator. It is useful for making nvgpu_mems that represent
carveouts or other things like that.
JIRA NVGPU-12
JIRA NVGPU-30
Change-Id: Ibcb6432f077a6b0ecf9d183248e47a1f9ecb3ddd
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/1464080
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 'drivers/gpu/nvgpu/perf/perf.h')
0 files changed, 0 insertions, 0 deletions