diff options
author | seshendra Gadagottu <sgadagottu@nvidia.com> | 2017-10-02 14:03:05 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-10-13 18:19:11 -0400 |
commit | 017a9f57756f120cb492fc6c66d8588a2c1626d8 (patch) | |
tree | 1215d9baee83f293c23ebfe56beb030b1c8b3e22 /drivers/gpu/nvgpu/common/falcon | |
parent | ceaab0595c0af8dfe4b71ca4014a9b44a862a0ef (diff) |
gpu: nvgpu: add API to create nvgpu_mem from phys
Added new memory API _nvgpu_mem_create_from_phys for
creating nvgpu_mem from physical memory aperture.
With this new API, avoided usage of linux specific
"struct page" in general code and moved this code to
common linux code. This API internally uses
__nvgpu_mem_create_from_pages for creating nvgpu_mem
from physical pages.
JIRA GPUT19X-2
Change-Id: Iaf0193a7c33e71422e4ddabde01edf46f5a81794
Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1571073
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: Alex Waterman <alexw@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/falcon')
0 files changed, 0 insertions, 0 deletions