diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2016-09-20 06:30:53 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-10-14 11:12:26 -0400 |
commit | 6fb5481a6b64530474bb378f3a7b1e2b5516fc2c (patch) | |
tree | 7de9c002058cb646602634a0dee4b43d996e5c9f /drivers/gpu/nvgpu/gk20a/hw_trim_gk20a.h | |
parent | a4e4466a0cb3cf3bca369ca09013d68fe8102baf (diff) |
gpu: nvgpu: support free space query in allocators
Add gk20a_alloc_space() to query the amount of free memory in bytes in
gk20a_allocator.
Bug 1787771
Bug 200233138
Change-Id: Ia381cafd5d2dbf394072d07be96991974f9289ae
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: http://git-master/r/1223760
(cherry picked from commit 0c7fd96acc3e3d581bd25ccbe40b0821a310760f)
Reviewed-on: http://git-master/r/1235978
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/hw_trim_gk20a.h')
0 files changed, 0 insertions, 0 deletions