diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2016-08-19 04:50:08 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-09-08 12:43:49 -0400 |
commit | f31e575ed6b048f2139eab0433cce7f18e670b28 (patch) | |
tree | db83180df4339c446b0246c589bf0cb2d4e096d0 /include/linux/gk20a.h | |
parent | dc3976e4c3daeaa00fd41e1f402d53bfcb908311 (diff) |
gpu: nvgpu: remove blocking wait for vidmem allocation
We have blocking 1sec wait for vidmem allocation
Remove this blocking wait and just return proper error
code to the caller
In case we have some buffers to be cleaned up in the
list (clear_list_head), return EAGAIN so that caller
can retry
Otherwise return ENOMEM indicating that no memory is
available right now
Jira DNVGPU-84
Change-Id: Ife2b17c989fc80e568f03bb18ad75b93a25be962
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/1204969
(cherry picked from commit 2bacdf0bc6d5b1cdcb8be37e574ca5f4f0663cae)
Reviewed-on: http://git-master/r/1213451
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'include/linux/gk20a.h')
0 files changed, 0 insertions, 0 deletions