diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2015-03-26 15:47:57 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-04-04 22:02:44 -0400 |
commit | f09fa2cf2094ad6b2aff3145aa5e608f7ccf83fb (patch) | |
tree | 9a7d382e5b3d340838de6b0c4568ec1bf2b74363 /drivers/gpu/nvgpu/gk20a/hal.h | |
parent | 87226707cfbabbf38a1a954dedd3575e67bbe48d (diff) |
gpu: nvgpu: Use sg_alloc_table_for_pages
Use sg_alloc_table_for_pages to create sg_table for buffers
allocated with NO_KERNEL_MAPPING. The old code returned always an
sg_table with one chunk. sg_alloc_table_for_pages returns an
sg_table which describes the actual physical chunks of the buffer.
Bug 1605769
Change-Id: I412c0151d830fa0f53dbbb08ba8cc9ebce6699e3
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/723696
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/hal.h')
0 files changed, 0 insertions, 0 deletions