diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2016-01-06 03:12:23 -0500 |
---|---|---|
committer | Sachin Nikam <snikam@nvidia.com> | 2016-01-13 02:23:43 -0500 |
commit | e153458aad399eedc2c05692226afb000dff4d58 (patch) | |
tree | 16fd705a75920f1659b76f14a6fe3ff60560da2b /drivers/gpu/nvgpu/Makefile | |
parent | f7285577d7948115ff38c83982eb3b126302b195 (diff) |
gpu: nvgpu: return ENOSPC if no private command buffer space
If we run out of gpfifo space or private command
buffer space, we currently return EAGAIN as error code
Instead of EAGAIN, return ENOSPC as error code so
that caller (user space) can read the error code
and do some re-trials
As the jobs are processed, it is possible to free up
some space. And hence such re-trials could succeed
Bug 1715291
Change-Id: I9a2ed7134d2496b383899b3c02c0e70452b26115
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/929402
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Tested-by: Sachin Nikam <snikam@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/Makefile')
0 files changed, 0 insertions, 0 deletions